diff options
Diffstat (limited to 'test/ORMTest.php')
-rw-r--r-- | test/ORMTest.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/ORMTest.php b/test/ORMTest.php index 07807da..81a5b05 100644 --- a/test/ORMTest.php +++ b/test/ORMTest.php @@ -11,6 +11,11 @@ class ORMTest extends PHPUnit_Framework_TestCase { ORM::set_db($db); } + public function tearDown() { + ORM::configure('logging', false); + ORM::set_db(null); + } + public function testStaticAtrributes() { $this->assertEquals('0', ORM::CONDITION_FRAGMENT); $this->assertEquals('1', ORM::CONDITION_VALUES); |