mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-14 22:15:55 +00:00
wip
This commit is contained in:
@@ -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