diff options
Diffstat (limited to 'tests/renderer_2d_legacy_test.php')
-rw-r--r-- | tests/renderer_2d_legacy_test.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/renderer_2d_legacy_test.php b/tests/renderer_2d_legacy_test.php index b15caf7..d196321 100644 --- a/tests/renderer_2d_legacy_test.php +++ b/tests/renderer_2d_legacy_test.php @@ -48,8 +48,10 @@ class ezcGraphRenderer2dLegacyTest extends ezcGraphTestCase return new PHPUnit_Framework_TestSuite( __CLASS__ ); } - protected function setUp() + public function setUp() { + parent::setUp(); + static $i = 0; if ( version_compare( phpversion(), '5.1.3', '<' ) ) { @@ -76,7 +78,7 @@ class ezcGraphRenderer2dLegacyTest extends ezcGraphTestCase $this->driver->options->height = 200; } - protected function tearDown() + public function tearDown() { $this->renderer = null; $this->driver = null; |