summaryrefslogtreecommitdiffstats
path: root/tests/driver_cairo_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/driver_cairo_test.php')
-rw-r--r--tests/driver_cairo_test.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/driver_cairo_test.php b/tests/driver_cairo_test.php
index 51c1208..68c6b7d 100644
--- a/tests/driver_cairo_test.php
+++ b/tests/driver_cairo_test.php
@@ -48,8 +48,10 @@ class ezcGraphCairoDriverTest extends ezcTestImageCase
return new PHPUnit_Framework_TestSuite( "ezcGraphCairoDriverTest" );
}
- protected function setUp()
+ public function setUp()
{
+ parent::setUp();
+
if ( !ezcBaseFeatures::hasExtensionSupport( 'cairo_wrapper' ) )
{
$this->markTestSkipped( 'This test needs pecl/cairo_wrapper support.' );
@@ -65,7 +67,7 @@ class ezcGraphCairoDriverTest extends ezcTestImageCase
$this->driver->options->font->path = $this->basePath . 'font.ttf';
}
- protected function tearDown()
+ public function tearDown()
{
unset( $this->driver );
if ( !$this->hasFailed() )
OpenPOWER on IntegriCloud