Skip to content

Commit e8ce976

Browse files
committed
Corrected Test Namespace in Jetstream Tests
1 parent 6c4421e commit e8ce976

File tree

6 files changed

+19
-15
lines changed

6 files changed

+19
-15
lines changed

composer.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/Feature/Jetstream/AuthenticationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace Tests\Feature;
5+
namespace Tests\Feature\Jetstream;
66

77
use App\Models\User;
88
use Illuminate\Foundation\Testing\RefreshDatabase;

tests/Feature/Jetstream/EmailVerificationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace Tests\Feature;
5+
namespace Tests\Feature\Jetstream;
66

77
use App\Models\User;
88
use Illuminate\Auth\Events\Verified;

tests/Feature/Jetstream/PasswordConfirmationTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<?php
22

3-
namespace Tests\Feature;
3+
declare(strict_types=1);
4+
5+
namespace Tests\Feature\Jetstream;
46

57
use App\Models\User;
68
use Illuminate\Foundation\Testing\RefreshDatabase;

tests/Feature/Jetstream/PasswordResetTest.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<?php
22

3-
namespace Tests\Feature;
3+
declare(strict_types=1);
4+
5+
namespace Tests\Feature\Jetstream;
46

57
use App\Models\User;
68
use Illuminate\Auth\Notifications\ResetPassword;
@@ -56,7 +58,7 @@ public function test_reset_password_screen_can_be_rendered(): void
5658
]);
5759

5860
Notification::assertSentTo($user, ResetPassword::class, function (object $notification) {
59-
$response = $this->get('/reset-password/'.$notification->token);
61+
$response = $this->get('/reset-password/' . $notification->token);
6062

6163
$response->assertStatus(200);
6264

@@ -80,9 +82,9 @@ public function test_password_can_be_reset_with_valid_token(): void
8082

8183
Notification::assertSentTo($user, ResetPassword::class, function (object $notification) use ($user) {
8284
$response = $this->post('/reset-password', [
83-
'token' => $notification->token,
84-
'email' => $user->email,
85-
'password' => 'password',
85+
'token' => $notification->token,
86+
'email' => $user->email,
87+
'password' => 'password',
8688
'password_confirmation' => 'password',
8789
]);
8890

tests/Feature/Jetstream/RegistrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace Tests\Feature;
5+
namespace Tests\Feature\Jetstream;
66

77
use Illuminate\Foundation\Testing\RefreshDatabase;
88
use Laravel\Fortify\Features;

0 commit comments

Comments
 (0)