summaryrefslogtreecommitdiff
path: root/test/CacheTest.php
diff options
context:
space:
mode:
authorSimon Holywell <[email protected]>2013-08-28 16:59:21 +0100
committerSimon Holywell <[email protected]>2013-08-28 17:02:49 +0100
commitbaff6edcb568c829bc2f82754f023f317d4fd759 (patch)
tree0c71cffedbac44c7caf20afbd2a1b020ff388d17 /test/CacheTest.php
parent4e9f8928cfc1e72f2d2f7ded3c7187255e400255 (diff)
parent33c3937adce276d1bad6f92201f39da5ed78c1fd (diff)
Add MS SQL `TOP` style syntax support
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.