summaryrefslogtreecommitdiffstats
path: root/tests/renderer_2d_legacy_test.php
diff options
context:
space:
mode:
authorKore Nordmann <mail@kore-nordmann.de>2013-12-21 11:20:22 +0100
committerKore Nordmann <mail@kore-nordmann.de>2013-12-21 11:20:22 +0100
commit9cc895f7c21a380f0af248dfa5e4aa103b6c6046 (patch)
tree2c2efd6ef5e65eaa2dac0c66e7c082cf20d5eedc /tests/renderer_2d_legacy_test.php
parentb783fe59122a4b11648407e895121a9efd8fa623 (diff)
downloadzetacomponents-graph-9cc895f7c21a380f0af248dfa5e4aa103b6c6046.zip
zetacomponents-graph-9cc895f7c21a380f0af248dfa5e4aa103b6c6046.tar.gz
Enforce locale in tests generating SVG with numeric axis
Diffstat (limited to 'tests/renderer_2d_legacy_test.php')
-rw-r--r--tests/renderer_2d_legacy_test.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/renderer_2d_legacy_test.php b/tests/renderer_2d_legacy_test.php
index b15caf7..d0c8cc1 100644
--- a/tests/renderer_2d_legacy_test.php
+++ b/tests/renderer_2d_legacy_test.php
@@ -56,6 +56,8 @@ class ezcGraphRenderer2dLegacyTest extends ezcGraphTestCase
$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/';
OpenPOWER on IntegriCloud