diff options
author | Sebastian Bergmann <sb@sebastian-bergmann.de> | 2010-01-16 07:57:13 +0000 |
---|---|---|
committer | Sebastian Bergmann <sb@sebastian-bergmann.de> | 2010-01-16 07:57:13 +0000 |
commit | 68371c25a8fa827151b1479f82223133b72d43fd (patch) | |
tree | 8143be6fbc6745e3416eca0f8c0b1f3b9352fad7 /tests/renderer_2d_legacy_test.php | |
parent | 2e4b4aea191b87e067f9b94fa0675c21b876a37e (diff) | |
download | zetacomponents-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_legacy_test.php')
-rw-r--r-- | tests/renderer_2d_legacy_test.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/renderer_2d_legacy_test.php b/tests/renderer_2d_legacy_test.php index 4175cc8..ca07199 100644 --- a/tests/renderer_2d_legacy_test.php +++ b/tests/renderer_2d_legacy_test.php @@ -62,6 +62,9 @@ class ezcGraphRenderer2dLegacyTest extends ezcGraphTestCase protected function tearDown() { + $this->renderer = null; + $this->driver = null; + if ( !$this->hasFailed() ) { $this->removeTempDir(); |