summaryrefslogtreecommitdiffstats
path: root/tests/renderer_2d_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/renderer_2d_test.php
parent323edff5f22cb8d116d0eb58083f9733e1f53126 (diff)
downloadzetacomponents-graph-93062e252a16efeaea9c95484232a009a1569a51.zip
zetacomponents-graph-93062e252a16efeaea9c95484232a009a1569a51.tar.gz
Ensure correct locale in all tests
Diffstat (limited to 'tests/renderer_2d_test.php')
-rw-r--r--tests/renderer_2d_test.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/renderer_2d_test.php b/tests/renderer_2d_test.php
index 7cb6385..e684cfd 100644
--- a/tests/renderer_2d_test.php
+++ b/tests/renderer_2d_test.php
@@ -48,16 +48,16 @@ class ezcGraphRenderer2dTest extends ezcGraphTestCase
return new PHPUnit_Framework_TestSuite( "ezcGraphRenderer2dTest" );
}
- protected function setUp()
+ public function setUp()
{
+ parent::setUp();
+
static $i = 0;
if ( version_compare( phpversion(), '5.1.3', '<' ) )
{
$this->markTestSkipped( "This test requires PHP 5.1.3 or later." );
}
- $this->setLocale( LC_NUMERIC, 'en_US', 'en_US.UTF-8', 'en_US.UTF8', 'en', 'english', 'en_US@euro' );
-
$this->tempDir = $this->createTempDir( __CLASS__ . sprintf( '_%03d_', ++$i ) ) . '/';
$this->basePath = dirname( __FILE__ ) . '/data/';
@@ -78,7 +78,7 @@ class ezcGraphRenderer2dTest extends ezcGraphTestCase
$this->driver->options->height = 200;
}
- protected function tearDown()
+ public function tearDown()
{
$this->driver = null;
$this->renderer = null;
OpenPOWER on IntegriCloud