mirror of
https://github.com/bitinflow/expose.git
synced 2026-11-01 05:09:11 +00:00
wip
This commit is contained in:
1 parent
c717683634
commit
72d33b1b70
19 files changed
+408
-103
No files matched your search
@@ -46,4 +46,13 @@ abstract class TestCase extends \Tests\TestCase
|
||||
|
||||
$this->assertGreaterThanOrEqual(1, count($result->rows));
|
||||
}
|
||||
|
||||
protected function assertDatabaseHasNoResults($query)
|
||||
{
|
||||
$database = app(DatabaseInterface::class);
|
||||
|
||||
$result = $this->await($database->query($query));
|
||||
|
||||
$this->assertEmpty($result->rows);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user