1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 17:34:03 +00:00

Laravel 6 compatible

This commit is contained in:
j.stein 2022-01-18 18:39:12 +01:00
parent 76a8d639ae
commit f8eef8d2ee

View file

@ -111,11 +111,11 @@ class ReadiedTenantsTest extends TestCase
/** @test */
public function tenancy_can_create_if_none_are_readied()
{
$this->assertDatabaseCount(Tenant::class, 0);
$this->assertCount(0, Tenant::all());
Tenant::pullReadiedTenant(true);
$this->assertDatabaseCount(Tenant::class, 1);
$this->assertCount(1, Tenant::all());
}
/** @test */