summaryrefslogtreecommitdiff
path: root/test/CacheTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'test/CacheTest.php')
-rw-r--r--test/CacheTest.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/CacheTest.php b/test/CacheTest.php
index 8479d13..0f7b491 100644
--- a/test/CacheTest.php
+++ b/test/CacheTest.php
@@ -17,12 +17,8 @@ class CacheTest extends PHPUnit_Framework_TestCase {
}
public function tearDown() {
- ORM::configure('logging', false);
- ORM::configure('logging', false, self::ALTERNATE);
- ORM::configure('caching', false);
- ORM::configure('caching', false, self::ALTERNATE);
- ORM::set_db(null);
- ORM::set_db(null, self::ALTERNATE);
+ ORM::reset_config();
+ ORM::reset_db();
}
// Test caching. This is a bit of a hack.