diff --git a/lib/task/test/sfTestFunctionalTask.class.php b/lib/task/test/sfTestFunctionalTask.class.php index 7e0dfd91e..469f89b2b 100644 --- a/lib/task/test/sfTestFunctionalTask.class.php +++ b/lib/task/test/sfTestFunctionalTask.class.php @@ -108,5 +108,7 @@ protected function execute($arguments = [], $options = []) return $ret; } + + return 0; } } diff --git a/lib/task/test/sfTestPluginTask.class.php b/lib/task/test/sfTestPluginTask.class.php index ec2f15ec7..a06f54252 100644 --- a/lib/task/test/sfTestPluginTask.class.php +++ b/lib/task/test/sfTestPluginTask.class.php @@ -67,6 +67,6 @@ protected function execute($arguments = [], $options = []) $finder = sfFinder::type('file')->follow_link()->name('*Test.php'); $h->register($finder->in($h->base_dir)); - return $h->run(); + return $h->run() ? 0 : 1; } } diff --git a/lib/task/test/sfTestUnitTask.class.php b/lib/task/test/sfTestUnitTask.class.php index 4a0440d03..e9943a9e1 100644 --- a/lib/task/test/sfTestUnitTask.class.php +++ b/lib/task/test/sfTestUnitTask.class.php @@ -102,5 +102,7 @@ protected function execute($arguments = [], $options = []) return $ret; } + + return 0; } }