diff options
Diffstat (limited to 'tests/odometer_test.php')
-rw-r--r-- | tests/odometer_test.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/odometer_test.php b/tests/odometer_test.php index 97d10ab..f15d3e9 100644 --- a/tests/odometer_test.php +++ b/tests/odometer_test.php @@ -44,8 +44,10 @@ class ezcGraphOdometerChartTest extends ezcGraphTestCase return new PHPUnit_Framework_TestSuite( "ezcGraphOdometerChartTest" ); } - protected function setUp() + public function setUp() { + parent::setUp(); + static $i = 0; if ( version_compare( phpversion(), '5.1.3', '<' ) ) { @@ -55,7 +57,7 @@ class ezcGraphOdometerChartTest extends ezcGraphTestCase $this->basePath = dirname( __FILE__ ) . '/data/'; } - protected function tearDown() + public function tearDown() { if ( !$this->hasFailed() ) { |