Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit 7185ec1

Browse files
RhysLeesgithub-actions[bot]
authored andcommitted
Fix styling
1 parent a87c5be commit 7185ec1

File tree

5 files changed

+8
-10
lines changed

5 files changed

+8
-10
lines changed

config/laravel-auth.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070
*/
7171
'toast_fade_time_in_milliseconds' => 5000,
7272

73-
7473
/*
7574
|--------------------------------------------------------------------------
7675
| Password Reset Settings

src/Commands/InstallTestsCommand.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,33 +15,31 @@ public function handle(): int
1515
{
1616
$this->comment('Publishing Auth Tests...');
1717

18-
File::copyDirectory(__DIR__ . '/../../stubs/tests/', base_path('tests'));
18+
File::copyDirectory(__DIR__.'/../../stubs/tests/', base_path('tests'));
1919

20-
if(file_exists(base_path('phpunit.xml'))){
20+
if (file_exists(base_path('phpunit.xml'))) {
2121
$this->replaceInFile('<testsuites>', '<testsuites>
2222
<testsuite name="Auth">
2323
<directory>tests/Auth</directory>
2424
</testsuite>', base_path('phpunit.xml')
2525
);
2626
}
2727

28-
if(file_exists(base_path('phpunit.xml.dist'))){
28+
if (file_exists(base_path('phpunit.xml.dist'))) {
2929
$this->replaceInFile('<testsuites>', '<testsuites>
3030
<testsuite name="Auth">
3131
<directory>tests/Auth</directory>
3232
</testsuite>', base_path('phpunit.xml.dist')
3333
);
3434
}
3535

36-
if(file_exists(base_path('tests/Pest.php'))){
36+
if (file_exists(base_path('tests/Pest.php'))) {
3737
$this->replaceInFile(')->in(\'Feature\');',
3838
')->in(\'Feature\', \'Auth\');',
3939
base_path('tests/Pest.php')
4040
);
4141
}
4242

43-
44-
4543
$this->comment('All done');
4644

4745
return self::SUCCESS;

src/LaravelAuthServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function configurePackage(Package $package): void
4545
->publishAssets()
4646
->publishMigrations()
4747
->askToRunMigrations();
48-
// ->info('If you want to install the tests, run `php artisan auth:install-tests`');
48+
// ->info('If you want to install the tests, run `php artisan auth:install-tests`');
4949
});
5050
}
5151

stubs/tests/Auth/Feature/LogoutControllerTest.php

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

33
use App\Models\User;
4+
45
use function Pest\Laravel\assertAuthenticated;
56
use function Pest\Laravel\assertGuest;
67

stubs/tests/Auth/Feature/RequestPasswordControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
$user = User::factory()->create();
2626

2727
$this->post(route('auth.request-password.store'), [
28-
'email' => $user->email,
29-
])
28+
'email' => $user->email,
29+
])
3030
->assertSessionDoesntHaveErrors()
3131
->assertRedirect();
3232

0 commit comments

Comments
 (0)