Skip to content

Commit d4c788b

Browse files
committed
Fix code style
1 parent 25024ec commit d4c788b

File tree

6 files changed

+38
-38
lines changed

6 files changed

+38
-38
lines changed

tests/Feature/Controllers/AccountControllerTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@
8383

8484
describe('Guests', function () {
8585
test("Can't access the edit page", function () {
86-
get(route('account.edit'))
87-
->assertRedirectToRoute('login');
88-
});
86+
get(route('account.edit'))
87+
->assertRedirectToRoute('login');
88+
});
8989

9090
test("Can't update details", function () {
9191
patch(route('account.update'))

tests/Feature/Controllers/DashboardControllerTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
describe('Guests', function () {
2424
test("Can't access the home page", function () {
25-
get(route('home'))
26-
->assertRedirectToRoute('login');
27-
});
25+
get(route('home'))
26+
->assertRedirectToRoute('login');
27+
});
2828
});

tests/Feature/Controllers/EmailVerificationControllerTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
describe('Guests', function () {
5656
test("Can't access the verification page", function () {
57-
get(route('verification.notice'))
58-
->assertRedirectToRoute('login');
59-
});
57+
get(route('verification.notice'))
58+
->assertRedirectToRoute('login');
59+
});
6060
});

tests/Feature/Controllers/LoginControllerTest.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@
2424

2525
describe('Guests', function () {
2626
test('Can access the login page', function () {
27-
get(route('login'))
28-
->assertOk()
29-
->assertInertia(
30-
fn (Assert $page) => $page
31-
->component('Login/Show')
32-
->where('email', config('app.seed.users.super.email'))
33-
->where('password', config('app.seed.users.super.password'))
34-
->where('remember', true)
35-
->where('redirect', '')
36-
);
37-
});
27+
get(route('login'))
28+
->assertOk()
29+
->assertInertia(
30+
fn (Assert $page) => $page
31+
->component('Login/Show')
32+
->where('email', config('app.seed.users.super.email'))
33+
->where('password', config('app.seed.users.super.password'))
34+
->where('remember', true)
35+
->where('redirect', '')
36+
);
37+
});
3838

3939
test('Props are not passed to the show page in production', function () {
4040
app()->instance('env', Environment::PRODUCTION->value);

tests/Feature/Controllers/RegisterControllerTest.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@
2525

2626
describe('Guests', function () {
2727
test('Can access the register page', function () {
28-
get(route('register'))
29-
->assertOk()
30-
->assertInertia(
31-
fn (Assert $page) => $page
32-
->component('Register/Show')
33-
->has('first_name')
34-
->has('last_name')
35-
->has('email')
36-
->has('password')
37-
);
38-
});
28+
get(route('register'))
29+
->assertOk()
30+
->assertInertia(
31+
fn (Assert $page) => $page
32+
->component('Register/Show')
33+
->has('first_name')
34+
->has('last_name')
35+
->has('email')
36+
->has('password')
37+
);
38+
});
3939

4040
test('Props are not passed to the show page in production', function () {
4141
app()->instance('env', Environment::PRODUCTION->value);

tests/Feature/Controllers/ResetPasswordControllerTest.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
mutates(\App\Http\Controllers\ResetPasswordController::class);
1515

1616
test('The forgot password page can be accessed', function () {
17-
get(route('password'))
18-
->assertOk()
19-
->assertInertia(
20-
fn (Assert $page) => $page
21-
->component('ResetPassword/Show')
22-
);
23-
});
17+
get(route('password'))
18+
->assertOk()
19+
->assertInertia(
20+
fn (Assert $page) => $page
21+
->component('ResetPassword/Show')
22+
);
23+
});
2424

2525
test('A password reset email can be requested', function () {
2626
Notification::fake();

0 commit comments

Comments
 (0)