summaryrefslogtreecommitdiffstats
path: root/tests/lib/cache.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-11-10 22:59:50 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-11-19 14:53:51 +0100
commitcb3a598cdb238f9ce74dce80ef9e59cdfc531a4f (patch)
tree2a3ec09e86f13885483286ba5f5213201eb4ee67 /tests/lib/cache.php
parent76ebd3a050cb3c84b958f071ec559e6bc9cbc847 (diff)
downloadnextcloud-server-cb3a598cdb238f9ce74dce80ef9e59cdfc531a4f.tar.gz
nextcloud-server-cb3a598cdb238f9ce74dce80ef9e59cdfc531a4f.zip
Make root tests extend the \Test\TestCase
Diffstat (limited to 'tests/lib/cache.php')
-rw-r--r--tests/lib/cache.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/lib/cache.php b/tests/lib/cache.php
index 8fefa25f65d..bdee0348e50 100644
--- a/tests/lib/cache.php
+++ b/tests/lib/cache.php
@@ -6,16 +6,17 @@
* See the COPYING-README file.
*/
-abstract class Test_Cache extends PHPUnit_Framework_TestCase {
+abstract class Test_Cache extends \Test\TestCase {
/**
* @var \OC\Cache cache;
*/
protected $instance;
- public function tearDown() {
+ protected function tearDown() {
if($this->instance) {
$this->instance->clear();
}
+ parent::tearDown();
}
function testSimple() {