summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-12-15 09:05:08 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-12-15 09:05:08 +0000
commit8e72f649f07e972989a6ef00b8ca1ef1937a00d1 (patch)
tree4e1081a80aff77b1535ad81dd81049486c766975 /tests
parent453e95eb439d711997f2f8c3a6eb0c95d9bae12a (diff)
downloadzetacomponents-graph-8e72f649f07e972989a6ef00b8ca1ef1937a00d1.zip
zetacomponents-graph-8e72f649f07e972989a6ef00b8ca1ef1937a00d1.tar.gz
- 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)
Diffstat (limited to 'tests')
-rw-r--r--tests/matrix_test.php5
1 files changed, 5 insertions, 0 deletions
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(
OpenPOWER on IntegriCloud