mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 21:34:03 +00:00
Styleci
This commit is contained in:
parent
9e2cb75351
commit
9f4dcbc40f
1 changed files with 3 additions and 4 deletions
|
|
@ -195,12 +195,11 @@ class CommandsTest extends TestCase
|
|||
public function run_command_with_array_of_tenants_works()
|
||||
{
|
||||
$tenantId1 = Tenant::create()->getTenantKey();
|
||||
$tenantId2= Tenant::create()->getTenantKey();
|
||||
$tenantId2 = Tenant::create()->getTenantKey();
|
||||
Artisan::call('tenants:migrate-fresh');
|
||||
|
||||
$this->artisan("tenants:run foo --tenants=$tenantId1 --tenants=$tenantId2 --argument='a=foo' --option='b=bar' --option='c=xyz'")
|
||||
->expectsOutput("Tenant: " . $tenantId1)
|
||||
->expectsOutput("Tenant: " . $tenantId2);
|
||||
->expectsOutput('Tenant: ' . $tenantId1)
|
||||
->expectsOutput('Tenant: ' . $tenantId2);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue