Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

Commit

Permalink
Removal of the Base\Support because of php 5.6. (using the built-in m…
Browse files Browse the repository at this point in the history
…ethod instead)
  • Loading branch information
timothymarois committed Aug 16, 2018
1 parent 04b51aa commit 80b62ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@

"require-dev": {
"satooshi/php-coveralls": "^2.0",
"phpunit/phpunit": "5.*",
"basephp/support": "1.*"
"phpunit/phpunit": "5.*"
},

"autoload": {
Expand Down
8 changes: 3 additions & 5 deletions tests/QueryTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php namespace Filebase;

use Base\Support\Filesystem;

class QueryTest extends \PHPUnit\Framework\TestCase
{

Expand Down Expand Up @@ -961,7 +959,7 @@ public function testWhereQueryFromCache()
$this->assertEquals(10, count($results));
$this->assertEquals(true, ($result_from_cache[0]->isCache()));

Filesystem::empty(__DIR__.'/databases');
$db->flush(true);
}


Expand Down Expand Up @@ -1001,7 +999,7 @@ public function testQueryFromCacheAfterDelete()

$this->assertEquals($id2, $results[0]->getId());

Filesystem::empty(__DIR__.'/databases');
$db->flush(true);
}


Expand Down Expand Up @@ -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);
}

}

0 comments on commit 80b62ff

Please sign in to comment.