diff options
Diffstat (limited to 'tests/test_case.php')
-rw-r--r-- | tests/test_case.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/test_case.php b/tests/test_case.php index be5e274..86755b1 100644 --- a/tests/test_case.php +++ b/tests/test_case.php @@ -26,6 +26,11 @@ abstract class ezcGraphTestCase extends ezcTestImageCase { + public function setUp() + { + $this->setLocale( LC_NUMERIC, 'en_US', 'en_US.UTF-8', 'en_US.UTF8', 'en', 'english', 'en_US@euro' ); + } + /** * Normalize given PHP code for flash generation * @@ -96,8 +101,8 @@ abstract class ezcGraphTestCase extends ezcTestImageCase protected function compare( $generated, $compare ) { $this->assertXmlFileEqualsXmlFile( - $generated, - $compare + $compare, + $generated ); } |