diff --git a/test/classes/ErrorTest.php b/test/classes/ErrorTest.php index 8c7b445e7e..ae2aca6b97 100644 --- a/test/classes/ErrorTest.php +++ b/test/classes/ErrorTest.php @@ -64,7 +64,7 @@ class ErrorTest extends PMATestCase { $bt = array(array('file'=>'bt1','line'=>2, 'function'=>'bar', 'args'=>array('foo'=>$this))); $this->object->setBacktrace($bt); - $bt[0]['args']['foo'] = 'object'; + $bt[0]['args']['foo'] = ''; $this->assertEquals($bt, $this->object->getBacktrace()); } @@ -127,7 +127,7 @@ class ErrorTest extends PMATestCase public function testGetBacktraceDisplay() { $this->assertContains( - 'PHPUnit_Framework_TestResult->run(object)
', + 'PHPUnit_Framework_TestResult->run()
', $this->object->getBacktraceDisplay() ); }