diff options
Diffstat (limited to 'tests/date_axis_test.php')
-rw-r--r-- | tests/date_axis_test.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/date_axis_test.php b/tests/date_axis_test.php index 2a2853e..fa2f962 100644 --- a/tests/date_axis_test.php +++ b/tests/date_axis_test.php @@ -46,8 +46,10 @@ class ezcGraphDateAxisTest extends ezcGraphTestCase return new PHPUnit_Framework_TestSuite( "ezcGraphDateAxisTest" ); } - protected function setUp() + public function setUp() { + parent::setUp(); + date_default_timezone_set( 'Europe/Berlin' ); static $i = 0; @@ -58,7 +60,7 @@ class ezcGraphDateAxisTest extends ezcGraphTestCase $this->chart->xAxis = new ezcGraphChartElementDateAxis(); } - protected function tearDown() + public function tearDown() { if ( !$this->hasFailed() ) { |