From 33c3937adce276d1bad6f92201f39da5ed78c1fd Mon Sep 17 00:00:00 2001 From: Sebastien Bariteau Date: Tue, 16 Apr 2013 14:08:40 +0100 Subject: Add support for T-SQL style TOP clauses --- test/CacheTest.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'test/CacheTest.php') 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. -- cgit v1.2.3