diff --git a/composer.json b/composer.json index 92c5916..f423c05 100644 --- a/composer.json +++ b/composer.json @@ -19,8 +19,7 @@ "require-dev": { "satooshi/php-coveralls": "^2.0", - "phpunit/phpunit": "5.*", - "basephp/support": "1.*" + "phpunit/phpunit": "5.*" }, "autoload": { diff --git a/tests/QueryTest.php b/tests/QueryTest.php index a302b5a..c5a1db4 100644 --- a/tests/QueryTest.php +++ b/tests/QueryTest.php @@ -1,7 +1,5 @@ assertEquals(10, count($results)); $this->assertEquals(true, ($result_from_cache[0]->isCache())); - Filesystem::empty(__DIR__.'/databases'); + $db->flush(true); } @@ -1001,7 +999,7 @@ public function testQueryFromCacheAfterDelete() $this->assertEquals($id2, $results[0]->getId()); - Filesystem::empty(__DIR__.'/databases'); + $db->flush(true); } @@ -1044,7 +1042,7 @@ public function testQueryFromCacheAfterSave() $this->assertEquals($id2, $results[0]->getId()); $this->assertEquals('John', $results[0]->name); - Filesystem::empty(__DIR__.'/databases'); + $db->flush(true); } }