first namespace, then other
authorRoland Häder <roland@mxchange.org>
Fri, 19 May 2017 00:25:59 +0000 (02:25 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 19 May 2017 00:25:59 +0000 (02:25 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
framework/main/tests/resolver/command/console/class_TestsConsoleCommandResolver.php

index 56a2940..5455f6a 100644 (file)
@@ -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;