diff options
Diffstat (limited to 'tests/image_map_test.php')
-rw-r--r-- | tests/image_map_test.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/image_map_test.php b/tests/image_map_test.php index 2bfa993..bd2f5e2 100644 --- a/tests/image_map_test.php +++ b/tests/image_map_test.php @@ -48,14 +48,16 @@ class ezcGraphImageMapTest extends ezcGraphTestCase return new PHPUnit_Framework_TestSuite( "ezcGraphImageMapTest" ); } - 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() { if ( !$this->hasFailed() ) { |