diff options
author | Simon Holywell <[email protected]> | 2013-08-28 16:59:21 +0100 |
---|---|---|
committer | Simon Holywell <[email protected]> | 2013-08-28 17:02:49 +0100 |
commit | baff6edcb568c829bc2f82754f023f317d4fd759 (patch) | |
tree | 0c71cffedbac44c7caf20afbd2a1b020ff388d17 /test/CacheTest.php | |
parent | 4e9f8928cfc1e72f2d2f7ded3c7187255e400255 (diff) | |
parent | 33c3937adce276d1bad6f92201f39da5ed78c1fd (diff) |
Add MS SQL `TOP` style syntax support
Diffstat (limited to 'test/CacheTest.php')
-rw-r--r-- | test/CacheTest.php | 8 |
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. |