summaryrefslogtreecommitdiffstats
path: root/tests/pie_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pie_test.php')
-rw-r--r--tests/pie_test.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/pie_test.php b/tests/pie_test.php
index a6731d9..0f2d62d 100644
--- a/tests/pie_test.php
+++ b/tests/pie_test.php
@@ -44,8 +44,10 @@ class ezcGraphPieChartTest extends ezcGraphTestCase
return new PHPUnit_Framework_TestSuite( "ezcGraphPieChartTest" );
}
- protected function setUp()
+ public function setUp()
{
+ parent::setUp();
+
static $i = 0;
if ( version_compare( phpversion(), '5.1.3', '<' ) )
{
@@ -55,7 +57,7 @@ class ezcGraphPieChartTest extends ezcGraphTestCase
$this->basePath = dirname( __FILE__ ) . '/data/';
}
- protected function tearDown()
+ public function tearDown()
{
if ( !$this->hasFailed() )
{
OpenPOWER on IntegriCloud