From 73aaaf2b1f1133a1253e174f14733943b60b0e0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Fri, 28 Oct 2022 00:50:46 +0200 Subject: [PATCH] code style --- tests/PendingTenantsTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); });