mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 18:34:04 +00:00
assetSame with string because of keyType of string
This commit is contained in:
parent
01c5ed3fa9
commit
e5c0304030
1 changed files with 3 additions and 3 deletions
|
|
@ -76,8 +76,8 @@ class TenantModelTest extends TestCase
|
||||||
$tenant1 = Tenant::create();
|
$tenant1 = Tenant::create();
|
||||||
$tenant2 = Tenant::create();
|
$tenant2 = Tenant::create();
|
||||||
|
|
||||||
$this->assertSame(1, $tenant1->id);
|
$this->assertSame((string) 1, $tenant1->id);
|
||||||
$this->assertSame(2, $tenant2->id);
|
$this->assertSame((string) 2, $tenant2->id);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @test */
|
/** @test */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue