1
0
Fork 0
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:
Jasper Koers 2021-04-20 12:06:17 +02:00
parent 01c5ed3fa9
commit e5c0304030

View file

@ -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 */