From 80b62ffb931377c8b27674d95581101ae4f0c81c Mon Sep 17 00:00:00 2001 From: Timothy Marois Date: Thu, 16 Aug 2018 09:54:49 -0400 Subject: [PATCH] Removal of the Base\Support because of php 5.6. (using the built-in method instead) --- composer.json | 3 +-- tests/QueryTest.php | 8 +++----- 2 files changed, 4 insertions(+), 7 deletions(-) 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); } }