From 8e72f649f07e972989a6ef00b8ca1ef1937a00d1 Mon Sep 17 00:00:00 2001 From: Kore Nordmann Date: Fri, 15 Dec 2006 09:05:08 +0000 Subject: - Fixed: Bug #9823 (Failing tests with PHP 5.1) # Test failed because of # a) (string) does not call __toString (now skipped) # b) different null parameter handling between 5.1 and 5.2 in imagepng # (workaround) --- tests/matrix_test.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') diff --git a/tests/matrix_test.php b/tests/matrix_test.php index 7c0c810..9bf263a 100644 --- a/tests/matrix_test.php +++ b/tests/matrix_test.php @@ -322,6 +322,11 @@ class ezcGraphMatrixTest extends ezcTestCase public function testMatrixToString() { + if ( version_compare( phpversion(), '5.2', '<' ) ) + { + $this->markTestSkipped( "This test requires PHP 5.2 or later." ); + } + $matrix = new ezcGraphMatrix(); $this->assertEquals( -- cgit v1.1