diff --git a/commands/testbox/run.cfc b/commands/testbox/run.cfc index 11b5ff9..b111da7 100644 --- a/commands/testbox/run.cfc +++ b/commands/testbox/run.cfc @@ -425,9 +425,12 @@ component { var testBoxPath = variables.moduleConfig.path & "/testbox"; var modulePath = variables.moduleConfig.path; + var serverDetails = variables.serverService.resolveServerDetails( {} ); + var serverInfo = serverDetails.serverInfo; + // Check if installed locally if ( arguments.testboxUseLocal ) { - testBoxPath = resolvePath( "testbox" ); + testBoxPath = resolvePath( "testbox", "#serverInfo.webroot#" ); } if ( !directoryExists( testBoxPath ) ) {