summaryrefslogtreecommitdiffstats
path: root/tests/driver_svg_svg_font_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/driver_svg_svg_font_test.php')
-rw-r--r--tests/driver_svg_svg_font_test.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/driver_svg_svg_font_test.php b/tests/driver_svg_svg_font_test.php
index b1d3329..3134f5e 100644
--- a/tests/driver_svg_svg_font_test.php
+++ b/tests/driver_svg_svg_font_test.php
@@ -52,8 +52,10 @@ class ezcGraphSvgSvgFontDriverTest extends ezcGraphTestCase
return new PHPUnit_Framework_TestSuite( __CLASS__ );
}
- protected function setUp()
+ public function setUp()
{
+ parent::setUp();
+
static $i = 0;
$this->tempDir = $this->createTempDir( __CLASS__ . sprintf( '_%03d_', ++$i ) ) . '/';
$this->basePath = dirname( __FILE__ ) . '/data/';
@@ -65,15 +67,13 @@ class ezcGraphSvgSvgFontDriverTest extends ezcGraphTestCase
$this->driver->options->font->path = $this->basePath . 'font.svg';
}
- protected function tearDown()
+ public function tearDown()
{
unset( $this->driver );
if ( !$this->hasFailed() )
{
$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