mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 14:54:03 +00:00
Laravel 6 compatible
This commit is contained in:
parent
76a8d639ae
commit
f8eef8d2ee
1 changed files with 2 additions and 2 deletions
|
|
@ -111,11 +111,11 @@ class ReadiedTenantsTest extends TestCase
|
||||||
/** @test */
|
/** @test */
|
||||||
public function tenancy_can_create_if_none_are_readied()
|
public function tenancy_can_create_if_none_are_readied()
|
||||||
{
|
{
|
||||||
$this->assertDatabaseCount(Tenant::class, 0);
|
$this->assertCount(0, Tenant::all());
|
||||||
|
|
||||||
Tenant::pullReadiedTenant(true);
|
Tenant::pullReadiedTenant(true);
|
||||||
|
|
||||||
$this->assertDatabaseCount(Tenant::class, 1);
|
$this->assertCount(1, Tenant::all());
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @test */
|
/** @test */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue