diff --git a/cli/src/commands/wheels/test.cfc b/cli/src/commands/wheels/test.cfc index 8b2a80a4e4..e4b6c14187 100644 --- a/cli/src/commands/wheels/test.cfc +++ b/cli/src/commands/wheels/test.cfc @@ -89,14 +89,12 @@ component extends="base" { // Always force JSON as return format if(loc.type eq 'app'){ loc.testurl = "http://" & loc.host & ":" & loc.port - & "/" & "?controller=tests&action=runner&view=runner" - & "&type=#loc.type#" + & "/" & "?controller=wheels.public&action=testbox&view=runner" & "&format=#loc.format#" & "&reload=#loc.reload#"; } else if(loc.type eq 'core'){ loc.testurl = "http://" & loc.host & ":" & loc.port - & "/" & "?controller=wheels.tests_testbox&action=runner&view=runner" - & "&type=#loc.type#" + & "/" & "?controller=wheels.public&action=tests_testbox&view=runner" & "&format=#loc.format#" & "&reload=#loc.reload#"; } else { diff --git a/core/src/wheels/Public.cfc b/core/src/wheels/Public.cfc index 05510179e0..7871ec2ad1 100644 --- a/core/src/wheels/Public.cfc +++ b/core/src/wheels/Public.cfc @@ -40,6 +40,10 @@ component output="false" displayName="Internal GUI" extends="wheels.Global" { include "/wheels/public/views/runner.cfm"; return ""; } + + function testbox(){ + include "/tests/Testbox/runner.cfm"; + } public function tests_testbox(){ // Set proper HTTP status first diff --git a/core/src/wheels/events/onrequestend/debug.cfm b/core/src/wheels/events/onrequestend/debug.cfm index 48335d1eaa..d6cb08111f 100644 --- a/core/src/wheels/events/onrequestend/debug.cfm +++ b/core/src/wheels/events/onrequestend/debug.cfm @@ -105,7 +105,7 @@ Guides