]> git.mxchange.org Git - core.git/blobdiff - application/tests/classes/commands/console/class_TestsConsoleMainCommand.php
Continued with tests and renaming:
[core.git] / application / tests / classes / commands / console / class_TestsConsoleMainCommand.php
index 5603caf3ad2dfa2df9d1a2004798bb17cd9507f8..d6a5f3898fdb402d4b78f37c0fb1a0bf2f0b26c3 100644 (file)
@@ -88,11 +88,11 @@ class TestsConsoleMainCommand extends BaseCommand implements Commandable {
         * @return      void
         */
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
-               // @TODO Unfinished
-               return;
+               // Add pre filters (e.g. for requirements checks)
+               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('tests_php_requirements_filter_class'));
 
-               // Add pre filters
-               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('tests_php_requirements_filter'));
+               // Add 'tests' filters which will run the actual tests
+               $controllerInstance->addTestsFilter(ObjectFactory::createObjectByConfiguredName('tests_configuration_classes_loadable_test_filter_class'));
        }
 
 }