]> git.mxchange.org Git - core.git/blobdiff - application/tests/classes/commands/console/class_TestsConsoleMainCommand.php
Continued with renaming-season:
[core.git] / application / tests / classes / commands / console / class_TestsConsoleMainCommand.php
index 44cb82ba7ba749531b97c47aca0adf39a3b98409..5603caf3ad2dfa2df9d1a2004798bb17cd9507f8 100644 (file)
@@ -68,9 +68,11 @@ class TestsConsoleMainCommand extends BaseCommand implements Commandable {
         * @param       $requestInstance        An instance of a class with an Requestable interface
         * @param       $responseInstance       An instance of a class with an Responseable interface
         * @return      void
-        * @todo        Try to create a TestsActivationTask or so
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
+               // Debug message
+               self::createDebugInstance(__CLASS__)->debugOutput('MAIN: --- Starting tests ... ---');
+
                // Get a registry and the application instance from it
                $applicationInstance = Registry::getRegistry()->getInstance('app');
 
@@ -90,7 +92,7 @@ class TestsConsoleMainCommand extends BaseCommand implements Commandable {
                return;
 
                // Add pre filters
-               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('node_php_requirements_filter'));
+               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('tests_php_requirements_filter'));
        }
 
 }