From 4a9da1df40952a53ca947e8fc9ecbf824768d3cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 17 Jun 2016 11:23:20 +0200 Subject: [PATCH] Adjust tests to new error reporting handling of objects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- test/classes/ErrorTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() ); }