Skip to content
Permalink
Browse files

Fixing tests failing because of visibility.

  • Loading branch information...
markstory committed Apr 15, 2010
1 parent 79eeb33 commit 50243f3b84bcdd2d9929f2802769b2e9c533f11d
Showing with 4 additions and 4 deletions.
  1. +4 −4 cake/tests/cases/libs/test_manager.test.php
@@ -34,8 +34,8 @@ class TestManagerTest extends CakeTestCase {
* @return void
*/
public function setUp() {
$this->TestManager =& new TestManager();
$this->Reporter =& new CakeHtmlReporter();
$this->TestManager = new TestManager();
$this->Reporter = new CakeHtmlReporter();
}
/**
@@ -44,11 +44,11 @@ public function setUp() {
* @return void
*/
public function testRunAllTests() {
$folder =& new Folder($this->TestManager->_getTestsPath());
$folder = new Folder(CORE_TEST_CASES);
$extension = str_replace('.', '\.', $this->TestManager->getExtension('test'));
$out = $folder->findRecursive('.*' . $extension);
$reporter =& new CakeHtmlReporter();
$reporter = new CakeHtmlReporter();
$list = $this->TestManager->runAllTests($reporter, true);
$this->assertEqual(count($out), count($list));

0 comments on commit 50243f3

Please sign in to comment.
You can’t perform that action at this time.