summaryrefslogtreecommitdiffstats
path: root/tests/driver_svg_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/driver_svg_test.php')
-rw-r--r--tests/driver_svg_test.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/driver_svg_test.php b/tests/driver_svg_test.php
index d63593e..f8ed502 100644
--- a/tests/driver_svg_test.php
+++ b/tests/driver_svg_test.php
@@ -52,8 +52,10 @@ class ezcGraphSvgDriverTest extends ezcGraphTestCase
return new PHPUnit_Framework_TestSuite( "ezcGraphSvgDriverTest" );
}
- protected function setUp()
+ public function setUp()
{
+ parent::setUp();
+
static $i = 0;
$this->tempDir = $this->createTempDir( __CLASS__ . sprintf( '_%03d_', ++$i ) ) . '/';
$this->basePath = dirname( __FILE__ ) . '/data/';
@@ -63,7 +65,7 @@ class ezcGraphSvgDriverTest extends ezcGraphTestCase
$this->driver->options->height = 100;
}
- protected function tearDown()
+ public function tearDown()
{
unset( $this->driver );
if ( !$this->hasFailed() )
OpenPOWER on IntegriCloud