Skip to content

Commit

Permalink
Removing TestManager from the group tests.
Browse files Browse the repository at this point in the history
Fixing a failing case on the testsuite shell.
Fixing Debugger from stealing the error handler from PHPUnit.
  • Loading branch information
markstory committed Feb 13, 2011
1 parent 1c9808f commit f6e9b5b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cake/tests/cases/console/shells/testsuite.test.php
Expand Up @@ -100,7 +100,7 @@ public function testRunnerOptions() {

$this->Shell->expects($this->once())->method('run')
->with(
array('app' => false, 'plugin' => null, 'output' => 'text', 'case' => 'basics'),
array('app' => false, 'plugin' => null, 'core' => true, 'output' => 'text', 'case' => 'basics'),
array('--filter', 'myFilter', '--colors', '--verbose')
);
$this->Shell->main();
Expand Down
1 change: 0 additions & 1 deletion cake/tests/cases/libs/all_test_suite.test.php
Expand Up @@ -34,7 +34,6 @@ class AllTestSuiteTest extends PHPUnit_Framework_TestSuite {
public static function suite() {
$suite = new PHPUnit_Framework_TestSuite('All Test Suite classes tests');

$suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'test_manager.test.php');
$suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'cake_test_case.test.php');
$suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'cake_test_fixture.test.php');
$suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'html_coverage_report.test.php');
Expand Down
1 change: 1 addition & 0 deletions cake/tests/lib/cake_test_suite_dispatcher.php
Expand Up @@ -238,6 +238,7 @@ function _runTestCase() {
'--filter', $this->params['filter'],
'--output', $this->params['output']
);
restore_error_handler();

try {
$command = new CakeTestSuiteCommand('CakeTestLoader', $commandArgs);
Expand Down

0 comments on commit f6e9b5b

Please sign in to comment.