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/driver_cairo_oo_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/driver_cairo_oo_test.php')
-rw-r--r-- | tests/driver_cairo_oo_test.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/driver_cairo_oo_test.php b/tests/driver_cairo_oo_test.php index d4b0d71..5056b2e 100644 --- a/tests/driver_cairo_oo_test.php +++ b/tests/driver_cairo_oo_test.php @@ -48,8 +48,10 @@ class ezcGraphCairoOODriverTest extends ezcTestImageCase return new PHPUnit_Framework_TestSuite( __CLASS__ ); } - protected function setUp() + public function setUp() { + parent::setUp(); + if ( !ezcBaseFeatures::hasExtensionSupport( 'cairo' ) ) { $this->markTestSkipped( 'This test needs pecl/cairo support.' ); @@ -65,7 +67,7 @@ class ezcGraphCairoOODriverTest extends ezcTestImageCase $this->driver->options->font->path = $this->basePath . 'font.ttf'; } - protected function tearDown() + public function tearDown() { unset( $this->driver ); if ( !$this->hasFailed() ) |