diff options
Diffstat (limited to 'tests/dataset_numeric_test.php')
-rw-r--r-- | tests/dataset_numeric_test.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/dataset_numeric_test.php b/tests/dataset_numeric_test.php index ddd5253..69cacc4 100644 --- a/tests/dataset_numeric_test.php +++ b/tests/dataset_numeric_test.php @@ -44,14 +44,16 @@ class ezcGraphNumericDataSetTest extends ezcGraphTestCase return new PHPUnit_Framework_TestSuite( "ezcGraphNumericDataSetTest" ); } - 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() ) { |