summaryrefslogtreecommitdiffstats
path: root/tests/renderer_2d_test.php
diff options
context:
space:
mode:
authorSebastian Bergmann <sb@sebastian-bergmann.de>2010-01-16 07:57:13 +0000
committerSebastian Bergmann <sb@sebastian-bergmann.de>2010-01-16 07:57:13 +0000
commit68371c25a8fa827151b1479f82223133b72d43fd (patch)
tree8143be6fbc6745e3416eca0f8c0b1f3b9352fad7 /tests/renderer_2d_test.php
parent2e4b4aea191b87e067f9b94fa0675c21b876a37e (diff)
downloadzetacomponents-graph-68371c25a8fa827151b1479f82223133b72d43fd.zip
zetacomponents-graph-68371c25a8fa827151b1479f82223133b72d43fd.tar.gz
- Clean up mock objects stored in attributes at tearDown().
- Make setUp() and tearDown() protected, as they should be.
Diffstat (limited to 'tests/renderer_2d_test.php')
-rw-r--r--tests/renderer_2d_test.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/renderer_2d_test.php b/tests/renderer_2d_test.php
index 6f902a2..a1ec4fd 100644
--- a/tests/renderer_2d_test.php
+++ b/tests/renderer_2d_test.php
@@ -62,6 +62,9 @@ class ezcGraphRenderer2dTest extends ezcGraphTestCase
protected function tearDown()
{
+ $this->driver = null;
+ $this->renderer = null;
+
if ( !$this->hasFailed() )
{
$this->removeTempDir();
OpenPOWER on IntegriCloud