diff --git a/tests/Integration/GraphQL/Mutations/ForgotPasswordTest.php b/tests/Integration/GraphQL/Mutations/ForgotPasswordTest.php index 402a318..4683da5 100644 --- a/tests/Integration/GraphQL/Mutations/ForgotPasswordTest.php +++ b/tests/Integration/GraphQL/Mutations/ForgotPasswordTest.php @@ -7,7 +7,6 @@ use DanielDeWit\LighthouseSanctum\Tests\Integration\AbstractIntegrationTest; use DanielDeWit\LighthouseSanctum\Tests\stubs\Users\UserHasApiTokens; use Illuminate\Auth\Notifications\ResetPassword; -use Illuminate\Auth\Notifications\ResetPassword as ResetPasswordNotification; use Illuminate\Support\Facades\Notification; use Laravel\Sanctum\Sanctum; @@ -25,8 +24,6 @@ public function it_sends_a_reset_password_notification(): void 'email' => 'john.doe@gmail.com', ]); - $user->notify(new ResetPasswordNotification('bla')); - Sanctum::actingAs($user); $this->graphQL(/** @lang GraphQL */ '