Skip to content

Commit 5578509

Browse files
committed
ran pint
1 parent 7ddf48a commit 5578509

File tree

7 files changed

+22
-22
lines changed

7 files changed

+22
-22
lines changed

lang/es/passwords.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
'sent' => 'Hemos enviado por correo electrónico el enlace para restablecer tu contraseña.',
1818
'throttled' => 'Por favor, espera antes de intentarlo de nuevo.',
1919
'token' => 'Este token de restablecimiento de contraseña no es válido.',
20-
'user' => "No podemos encontrar un usuario con esa dirección de correo electrónico.",
20+
'user' => 'No podemos encontrar un usuario con esa dirección de correo electrónico.',
2121

2222
];

tests/Feature/App/Http/Controllers/Auth/AuthenticatedSessionControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
use function Pest\Laravel\post;
1212

1313
test('login screen can be rendered', function () {
14-
get(route('login'))->assertOk();
15-
});
14+
get(route('login'))->assertOk();
15+
});
1616

1717
test('users can authenticate using the login screen', function () {
1818
$user = User::factory()->create();

tests/Feature/App/Http/Controllers/Auth/PasswordResetTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
use function Pest\Laravel\post;
99

1010
test('reset password link screen can be rendered', function () {
11-
get(route('password.request'))->assertOk();
12-
});
11+
get(route('password.request'))->assertOk();
12+
});
1313

1414
test('reset password link can be requested', function () {
1515
Notification::fake();
@@ -29,8 +29,8 @@
2929
post(route('password.request'), ['email' => $user->email]);
3030

3131
Notification::assertSentTo($user, ResetPassword::class, function ($notification) {
32-
get('/reset-password/'.$notification->token)->assertOk();
32+
get('/reset-password/'.$notification->token)->assertOk();
3333

3434
return true;
35-
});
35+
});
3636
});

tests/Feature/App/Http/Controllers/Auth/RegisteredUserControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
use function Pest\Laravel\post;
88

99
test('can see register page', function () {
10-
get(route('register'))->assertOk();
11-
});
10+
get(route('register'))->assertOk();
11+
});
1212

1313
test('users cannot register with invalid password', function () {
1414
post(route('register'), [

tests/Feature/App/Http/Controllers/Auth/TwoFaControllerTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
});
1313

1414
test('redirects when 2fa has already been verified', function () {
15-
get(route('admin.2fa'))->assertRedirect(route('dashboard'));
16-
});
15+
get(route('admin.2fa'))->assertRedirect(route('dashboard'));
16+
});
1717

1818
test('renders when 2fa has not been verified', function () {
1919
session(['2fa-login' => true]);
@@ -65,8 +65,8 @@
6565
});
6666

6767
test('can see 2fa setup page', function () {
68-
get(route('admin.2fa-setup'))->assertOk();
69-
});
68+
get(route('admin.2fa-setup'))->assertOk();
69+
});
7070

7171
test('code is required for update', function () {
7272
post(route('admin.2fa-setup.update'), [])

tests/Feature/App/Http/Controllers/WelcomeTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@
1111
});
1212

1313
test('can see dashboard text on welcome page when logged in', function () {
14-
get('/')->assertSeeText(__('Dashboard'));
15-
});
14+
get('/')->assertSeeText(__('Dashboard'));
15+
});
1616

1717
});
1818

1919
describe('guest', function () {
2020

2121
test('can see login text on welcome page', function () {
22-
get('/')
23-
->assertSeeText(__('Login'))
24-
->assertSeeText(__('Register'));
25-
});
22+
get('/')
23+
->assertSeeText(__('Login'))
24+
->assertSeeText(__('Register'));
25+
});
2626

2727
});

tests/Feature/App/Http/Middleware/AuthenticateTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
use function Pest\Laravel\get;
44

55
test('returns 401 when not authenticated', function () {
6-
get(route('dashboard'), ['Accept' => 'application/json'])
7-
->assertUnauthorized();
8-
});
6+
get(route('dashboard'), ['Accept' => 'application/json'])
7+
->assertUnauthorized();
8+
});

0 commit comments

Comments
 (0)