diff --git a/tests/Feature/Admin/PasswordConfirmationGuardTest.php b/tests/Feature/Admin/PasswordConfirmationGuardTest.php index 8a02996..557d4a7 100644 --- a/tests/Feature/Admin/PasswordConfirmationGuardTest.php +++ b/tests/Feature/Admin/PasswordConfirmationGuardTest.php @@ -1,6 +1,7 @@ create(['password' => 'kunden-passwort']); - Livewire::actingAs($user)->test(App\Livewire\Settings::class) + Livewire::actingAs($user)->test(Settings::class) ->set('confirmablePassword', 'kunden-passwort') ->call('confirmPassword') ->assertHasNoErrors(); @@ -112,7 +113,7 @@ it("does not let a portal customer's password confirmation satisfy the console's // App\Livewire\Settings::confirmationGuard() defaults to 'web', resolved // explicitly by guard — no actingAs needed to reach the right account, // the login() call above already put it in the session. - Livewire::test(App\Livewire\Settings::class) + Livewire::test(Settings::class) ->set('confirmablePassword', 'kunden-passwort') ->call('confirmPassword') ->assertHasNoErrors(); diff --git a/tests/Feature/EnsureCustomerActiveTest.php b/tests/Feature/EnsureCustomerActiveTest.php index 9d02e38..cd091f0 100644 --- a/tests/Feature/EnsureCustomerActiveTest.php +++ b/tests/Feature/EnsureCustomerActiveTest.php @@ -15,7 +15,7 @@ use Illuminate\Support\Facades\Auth; * silently signed an operator elsewhere in that same browser out of the * console too. */ -it("suspending a portal customer does not sign an operator out of a console session sharing the same browser", function () { +it('suspending a portal customer does not sign an operator out of a console session sharing the same browser', function () { $operator = Operator::factory()->role('Owner')->create(); $user = User::factory()->create(); Customer::factory()->create(['email' => $user->email, 'user_id' => $user->id, 'status' => 'suspended']);