mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 12:54:05 +00:00
Use getTenantKey() instead of ->id references
This commit is contained in:
parent
d7536ce0af
commit
ac58f6992b
8 changed files with 15 additions and 15 deletions
|
|
@ -131,7 +131,7 @@ class CommandsTest extends TestCase
|
|||
/** @test */
|
||||
public function run_commands_works()
|
||||
{
|
||||
$id = Tenant::create()->id;
|
||||
$id = Tenant::create()->getTenantKey();
|
||||
|
||||
Artisan::call('tenants:migrate', ['--tenants' => [$id]]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue