diff options
Diffstat (limited to 'tests/background_test.php')
-rw-r--r-- | tests/background_test.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/background_test.php b/tests/background_test.php index 2bdbc42..778f3f9 100644 --- a/tests/background_test.php +++ b/tests/background_test.php @@ -46,15 +46,17 @@ class ezcGraphBackgroundTest extends ezcGraphTestCase return new PHPUnit_Framework_TestSuite( "ezcGraphBackgroundTest" ); } - 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() ) { |