Skip to content

Commit

Permalink
Merge pull request #28 from daniel-de-wit/fix-forgot-password-test
Browse files Browse the repository at this point in the history
Fix ResetPasswordTest
  • Loading branch information
wimski committed Apr 23, 2021
2 parents 1bd65e7 + 6687710 commit 254c927
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/Integration/GraphQL/Mutations/ForgotPasswordTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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 */ '
Expand Down

0 comments on commit 254c927

Please sign in to comment.