diff options
Diffstat (limited to 'tests/text_test.php')
-rw-r--r-- | tests/text_test.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/text_test.php b/tests/text_test.php index 8d070f5..3f2c2dd 100644 --- a/tests/text_test.php +++ b/tests/text_test.php @@ -38,8 +38,10 @@ class ezcGraphTextTest extends ezcTestCase return new PHPUnit_Framework_TestSuite( "ezcGraphTextTest" ); } - protected function setUp() + public function setUp() { + parent::setUp(); + if ( version_compare( phpversion(), '5.1.3', '<' ) ) { $this->markTestSkipped( "This test requires PHP 5.1.3 or later." ); |