mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 14: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
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
declare (strict_types = 1);
|
||||
|
||||
namespace Stancl\Tenancy\Tests;
|
||||
|
||||
|
|
@ -76,8 +76,8 @@ class TenantModelTest extends TestCase
|
|||
$tenant1 = Tenant::create();
|
||||
$tenant2 = Tenant::create();
|
||||
|
||||
$this->assertSame(1, $tenant1->id);
|
||||
$this->assertSame(2, $tenant2->id);
|
||||
$this->assertSame((string) 1, $tenant1->id);
|
||||
$this->assertSame((string) 2, $tenant2->id);
|
||||
}
|
||||
|
||||
/** @test */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue