diff options
author | Kore Nordmann <mail@kore-nordmann.de> | 2013-12-21 11:32:05 +0100 |
---|---|---|
committer | Kore Nordmann <mail@kore-nordmann.de> | 2013-12-21 11:32:05 +0100 |
commit | 93062e252a16efeaea9c95484232a009a1569a51 (patch) | |
tree | 68e9ced5ec51b66cdb515f93759b80618361ebb2 /tests/tools_test.php | |
parent | 323edff5f22cb8d116d0eb58083f9733e1f53126 (diff) | |
download | zetacomponents-graph-93062e252a16efeaea9c95484232a009a1569a51.zip zetacomponents-graph-93062e252a16efeaea9c95484232a009a1569a51.tar.gz |
Ensure correct locale in all tests
Diffstat (limited to 'tests/tools_test.php')
-rw-r--r-- | tests/tools_test.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/tools_test.php b/tests/tools_test.php index 7c80c84..ae0fe09 100644 --- a/tests/tools_test.php +++ b/tests/tools_test.php @@ -40,15 +40,16 @@ class ezcGraphToolsTest extends ezcGraphTestCase return new PHPUnit_Framework_TestSuite( "ezcGraphToolsTest" ); } - protected function setUp() + public function setUp() { + parent::setUp(); + static $i = 0; $this->tempDir = $this->createTempDir( __CLASS__ . sprintf( '_%03d_', ++$i ) ) . '/'; $this->basePath = dirname( __FILE__ ) . '/data/'; - $this->setLocale( LC_NUMERIC, 'en_US', 'en_US.UTF-8', 'en_US.UTF8', 'en', 'english', 'en_US@euro' ); } - protected function tearDown() + public function tearDown() { if ( !$this->hasFailed() ) { |