diff --git a/tests/PendingTenantsTest.php b/tests/PendingTenantsTest.php index 2a4caf40..d2e5baad 100644 --- a/tests/PendingTenantsTest.php +++ b/tests/PendingTenantsTest.php @@ -165,8 +165,8 @@ test('commands do not run for pending tenants if tenancy.pending.include_in_quer $pendingTenants = $tenants->filter->pending(); $readyTenants = $tenants->reject->pending(); - $pendingTenants->each(fn($tenant) => $artisan->doesntExpectOutputToContain("Tenant: {$tenant->getTenantKey()}")); - $readyTenants->each(fn($tenant) => $artisan->expectsOutputToContain("Tenant: {$tenant->getTenantKey()}")); + $pendingTenants->each(fn ($tenant) => $artisan->doesntExpectOutputToContain("Tenant: {$tenant->getTenantKey()}")); + $readyTenants->each(fn ($tenant) => $artisan->expectsOutputToContain("Tenant: {$tenant->getTenantKey()}")); $artisan->assertExitCode(0); }); @@ -185,7 +185,7 @@ test('commands run for pending tenants too if tenancy.pending.include_in_queries $artisan = pest()->artisan("tenants:run 'foo foo --b=bar --c=xyz'"); - $tenants->each(fn($tenant) => $artisan->expectsOutputToContain("Tenant: {$tenant->getTenantKey()}")); + $tenants->each(fn ($tenant) => $artisan->expectsOutputToContain("Tenant: {$tenant->getTenantKey()}")); $artisan->assertExitCode(0); }); @@ -204,7 +204,7 @@ test('commands run for pending tenants too if the with pending option is passed' $artisan = pest()->artisan("tenants:run 'foo foo --b=bar --c=xyz' --with-pending"); - $tenants->each(fn($tenant) => $artisan->expectsOutputToContain("Tenant: {$tenant->getTenantKey()}")); + $tenants->each(fn ($tenant) => $artisan->expectsOutputToContain("Tenant: {$tenant->getTenantKey()}")); $artisan->assertExitCode(0); });