summaryrefslogtreecommitdiffstats
path: root/tests/horizontal_bar_chart_renderer_test.php
diff options
context:
space:
mode:
authorKore Nordmann <mail@kore-nordmann.de>2013-12-21 11:32:05 +0100
committerKore Nordmann <mail@kore-nordmann.de>2013-12-21 11:32:05 +0100
commit93062e252a16efeaea9c95484232a009a1569a51 (patch)
tree68e9ced5ec51b66cdb515f93759b80618361ebb2 /tests/horizontal_bar_chart_renderer_test.php
parent323edff5f22cb8d116d0eb58083f9733e1f53126 (diff)
downloadzetacomponents-graph-93062e252a16efeaea9c95484232a009a1569a51.zip
zetacomponents-graph-93062e252a16efeaea9c95484232a009a1569a51.tar.gz
Ensure correct locale in all tests
Diffstat (limited to 'tests/horizontal_bar_chart_renderer_test.php')
-rw-r--r--tests/horizontal_bar_chart_renderer_test.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/horizontal_bar_chart_renderer_test.php b/tests/horizontal_bar_chart_renderer_test.php
index 396326c..4055135 100644
--- a/tests/horizontal_bar_chart_renderer_test.php
+++ b/tests/horizontal_bar_chart_renderer_test.php
@@ -44,14 +44,16 @@ class ezcGraphHorizontalBarRendererTests extends ezcGraphTestCase
return new PHPUnit_Framework_TestSuite( __CLASS__ );
}
- 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() )
{
OpenPOWER on IntegriCloud