]> git.mxchange.org Git - core.git/commitdiff
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 56a2940e1e270241eca6eb6e85c670b9c4cf260e..5455f6a20e319ba0a3b599bda0ba8e1093ddd442 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;