diff options
Diffstat (limited to 'tests/font_test.php')
-rw-r--r-- | tests/font_test.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/font_test.php b/tests/font_test.php index 678e756..b247ae7 100644 --- a/tests/font_test.php +++ b/tests/font_test.php @@ -44,14 +44,16 @@ class ezcGraphFontTest extends ezcGraphTestCase return new PHPUnit_Framework_TestSuite( "ezcGraphFontTest" ); } - protected function setUp() + public function setUp() { + parent::setUp(); + static $i = 0; $this->tempDir = $this->createTempDir( __CLASS__ . sprintf( '_%03d_', ++$i ) ) . '/'; $this->basePath = dirname( __FILE__ ) . '/data/'; } - protected function tearDown() + public function tearDown() { unset( $this->driver ); if ( !$this->hasFailed() ) |