summaryrefslogtreecommitdiff
path: root/test/ConfigTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'test/ConfigTest.php')
-rw-r--r--test/ConfigTest.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/ConfigTest.php b/test/ConfigTest.php
index 83194b4..787e2b1 100644
--- a/test/ConfigTest.php
+++ b/test/ConfigTest.php
@@ -14,10 +14,8 @@ class ConfigTest extends PHPUnit_Framework_TestCase {
}
public function tearDown() {
- ORM::configure('logging', false);
- ORM::set_db(null);
-
- ORM::configure('id_column', 'id');
+ ORM::reset_config();
+ ORM::reset_db();
}
protected function setUpIdColumnOverrides() {