summaryrefslogtreecommitdiffstats
path: root/tests/driver_svg_svg_font_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/driver_svg_svg_font_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/driver_svg_svg_font_test.php')
-rw-r--r--tests/driver_svg_svg_font_test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/driver_svg_svg_font_test.php b/tests/driver_svg_svg_font_test.php
index ab3fdf3..b1d3329 100644
--- a/tests/driver_svg_svg_font_test.php
+++ b/tests/driver_svg_svg_font_test.php
@@ -63,8 +63,6 @@ class ezcGraphSvgSvgFontDriverTest extends ezcGraphTestCase
$this->driver->options->height = 100;
$this->driver->options->font->path = $this->basePath . 'font.svg';
-
- $this->setLocale( LC_NUMERIC, 'en_US', 'en_US.UTF-8', 'en_US.UTF8', 'en', 'english', 'en_US@euro' );
}
protected function tearDown()
@@ -74,6 +72,8 @@ class ezcGraphSvgSvgFontDriverTest extends ezcGraphTestCase
{
$this->removeTempDir();
}
+
+ $this->setLocale( LC_NUMERIC, 'en_US', 'en_US.UTF-8', 'en_US.UTF8', 'en', 'english', 'en_US@euro' );
}
public function testDrawTextBoxShortString()
OpenPOWER on IntegriCloud