From: Roland Häder Date: Fri, 19 May 2017 00:25:59 +0000 (+0200) Subject: first namespace, then other X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=8d455a2d215b09cf56db7b7daf71acc44f373cb7 first namespace, then other Signed-off-by: Roland Häder --- diff --git a/framework/main/tests/resolver/command/console/class_TestsConsoleCommandResolver.php b/framework/main/tests/resolver/command/console/class_TestsConsoleCommandResolver.php index 56a2940e..5455f6a2 100644 --- a/framework/main/tests/resolver/command/console/class_TestsConsoleCommandResolver.php +++ b/framework/main/tests/resolver/command/console/class_TestsConsoleCommandResolver.php @@ -67,9 +67,9 @@ class TestsConsoleCommandResolver extends BaseCommandResolver implements Command throw new InvalidCommandException(array($resolverInstance, $commandName), self::EXCEPTION_INVALID_COMMAND); } - // Set the application instance - $resolverInstance->setApplicationInstance($applicationInstance); + // Set namespace and application instance $resolverInstance->setNamespace('CoreFramework\Tests\Command'); + $resolverInstance->setApplicationInstance($applicationInstance); // Return the prepared instance return $resolverInstance;