Skip to content

Commit 03904eb

Browse files
committed
- Updated tests
1 parent dbd1664 commit 03904eb

File tree

70 files changed

+290
-580
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+290
-580
lines changed

tests/Feature/Commands/Auth/Controllers/GenerateAuthConfirmPasswordControllerCommandTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,15 @@ class GenerateAuthConfirmPasswordControllerCommandTest extends TestCase
1111
{
1212
use RefreshDatabase;
1313

14-
/** @test */
15-
public function it_can_generate_auth_confirm_password_controller_output(): void
14+
public function test_it_can_generate_auth_confirm_password_controller_output(): void
1615
{
1716
$expected_content = $this->getTestStubContents('Controllers/Customer/Auth/ConfirmPasswordController.php');
1817

1918
$this->artisan('generate:auth_confirm_password_controller', ['table' => 'customers'])
2019
->expectsOutput($expected_content);
2120
}
2221

23-
/** @test */
24-
public function it_can_generate_auth_confirm_password_controller_file(): void
22+
public function test_it_can_generate_auth_confirm_password_controller_file(): void
2523
{
2624
$expected_path = $this->app->path('Http/Controllers/Customer/Auth/ConfirmPasswordController.php');
2725
$expected_content = $this->getTestStubContents('Controllers/Customer/Auth/ConfirmPasswordController.php');

tests/Feature/Commands/Auth/Controllers/GenerateAuthControllerCommandTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,15 @@ class GenerateAuthControllerCommandTest extends TestCase
1111
{
1212
use RefreshDatabase;
1313

14-
/** @test */
15-
public function it_can_generate_auth_controller_output(): void
14+
public function test_it_can_generate_auth_controller_output(): void
1615
{
1716
$expected_content = $this->getTestStubContents('Controllers/CustomersController.php');
1817

1918
$this->artisan('generate:auth_controller', ['table' => 'customers'])
2019
->expectsOutput($expected_content);
2120
}
2221

23-
/** @test */
24-
public function it_can_generate_auth_controller_file(): void
22+
public function test_it_can_generate_auth_controller_file(): void
2523
{
2624
$expected_path = $this->app->path('Http/Controllers/Admin/CustomersController.php');
2725
$expected_content = $this->getTestStubContents('Controllers/CustomersController.php');

tests/Feature/Commands/Auth/Controllers/GenerateAuthForgotPasswordControllerCommandTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,15 @@ class GenerateAuthForgotPasswordControllerCommandTest extends TestCase
1111
{
1212
use RefreshDatabase;
1313

14-
/** @test */
15-
public function it_can_generate_auth_forgot_password_controller_output(): void
14+
public function test_it_can_generate_auth_forgot_password_controller_output(): void
1615
{
1716
$expected_content = $this->getTestStubContents('Controllers/Customer/Auth/ForgotPasswordController.php');
1817

1918
$this->artisan('generate:auth_forgot_password_controller', ['table' => 'customers'])
2019
->expectsOutput($expected_content);
2120
}
2221

23-
/** @test */
24-
public function it_can_generate_auth_forgot_password_controller_file(): void
22+
public function test_it_can_generate_auth_forgot_password_controller_file(): void
2523
{
2624
$expected_path = $this->app->path('Http/Controllers/Customer/Auth/ForgotPasswordController.php');
2725
$expected_content = $this->getTestStubContents('Controllers/Customer/Auth/ForgotPasswordController.php');

tests/Feature/Commands/Auth/Controllers/GenerateAuthHomeControllerCommandTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,15 @@ class GenerateAuthHomeControllerCommandTest extends TestCase
1111
{
1212
use RefreshDatabase;
1313

14-
/** @test */
15-
public function it_can_generate_auth_home_controller_output(): void
14+
public function test_it_can_generate_auth_home_controller_output(): void
1615
{
1716
$expected_content = $this->getTestStubContents('Controllers/Customer/HomeController.php');
1817

1918
$this->artisan('generate:auth_home_controller', ['table' => 'customers'])
2019
->expectsOutput($expected_content);
2120
}
2221

23-
/** @test */
24-
public function it_can_generate_auth_home_controller_file(): void
22+
public function test_it_can_generate_auth_home_controller_file(): void
2523
{
2624
$expected_path = $this->app->path('Http/Controllers/Customer/HomeController.php');
2725
$expected_content = $this->getTestStubContents('Controllers/Customer/HomeController.php');

tests/Feature/Commands/Auth/Controllers/GenerateAuthLoginControllerCommandTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,15 @@ class GenerateAuthLoginControllerCommandTest extends TestCase
1111
{
1212
use RefreshDatabase;
1313

14-
/** @test */
15-
public function it_can_generate_auth_login_controller_output(): void
14+
public function test_it_can_generate_auth_login_controller_output(): void
1615
{
1716
$expected_content = $this->getTestStubContents('Controllers/Customer/Auth/LoginController.php');
1817

1918
$this->artisan('generate:auth_login_controller', ['table' => 'customers'])
2019
->expectsOutput($expected_content);
2120
}
2221

23-
/** @test */
24-
public function it_can_generate_auth_login_controller_file(): void
22+
public function test_it_can_generate_auth_login_controller_file(): void
2523
{
2624
$expected_path = $this->app->path('Http/Controllers/Customer/Auth/LoginController.php');
2725
$expected_content = $this->getTestStubContents('Controllers/Customer/Auth/LoginController.php');

tests/Feature/Commands/Auth/Controllers/GenerateAuthRegisterControllerCommandTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,15 @@ class GenerateAuthRegisterControllerCommandTest extends TestCase
1111
{
1212
use RefreshDatabase;
1313

14-
/** @test */
15-
public function it_can_generate_auth_register_controller_output(): void
14+
public function test_it_can_generate_auth_register_controller_output(): void
1615
{
1716
$expected_content = $this->getTestStubContents('Controllers/Customer/Auth/RegisterController.php');
1817

1918
$this->artisan('generate:auth_register_controller', ['table' => 'customers'])
2019
->expectsOutput($expected_content);
2120
}
2221

23-
/** @test */
24-
public function it_can_generate_auth_register_controller_file(): void
22+
public function test_it_can_generate_auth_register_controller_file(): void
2523
{
2624
$expected_path = $this->app->path('Http/Controllers/Customer/Auth/RegisterController.php');
2725
$expected_content = $this->getTestStubContents('Controllers/Customer/Auth/RegisterController.php');

tests/Feature/Commands/Auth/Controllers/GenerateAuthResetPasswordControllerCommandTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,15 @@ class GenerateAuthResetPasswordControllerCommandTest extends TestCase
1111
{
1212
use RefreshDatabase;
1313

14-
/** @test */
15-
public function it_can_generate_auth_reset_password_controller_output(): void
14+
public function test_it_can_generate_auth_reset_password_controller_output(): void
1615
{
1716
$expected_content = $this->getTestStubContents('Controllers/Customer/Auth/ResetPasswordController.php');
1817

1918
$this->artisan('generate:auth_reset_password_controller', ['table' => 'customers'])
2019
->expectsOutput($expected_content);
2120
}
2221

23-
/** @test */
24-
public function it_can_generate_auth_reset_password_controller_file(): void
22+
public function test_it_can_generate_auth_reset_password_controller_file(): void
2523
{
2624
$expected_path = $this->app->path('Http/Controllers/Customer/Auth/ResetPasswordController.php');
2725
$expected_content = $this->getTestStubContents('Controllers/Customer/Auth/ResetPasswordController.php');

tests/Feature/Commands/Auth/Controllers/GenerateAuthUpdatePasswordControllerCommandTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,15 @@ class GenerateAuthUpdatePasswordControllerCommandTest extends TestCase
1111
{
1212
use RefreshDatabase;
1313

14-
/** @test */
15-
public function it_can_generate_auth_update_password_controller_output(): void
14+
public function test_it_can_generate_auth_update_password_controller_output(): void
1615
{
1716
$expected_content = $this->getTestStubContents('Controllers/Customer/Auth/UpdatePasswordController.php');
1817

1918
$this->artisan('generate:auth_update_password_controller', ['table' => 'customers'])
2019
->expectsOutput($expected_content);
2120
}
2221

23-
/** @test */
24-
public function it_can_generate_auth_update_password_controller_file(): void
22+
public function test_it_can_generate_auth_update_password_controller_file(): void
2523
{
2624
$expected_path = $this->app->path('Http/Controllers/Customer/Auth/UpdatePasswordController.php');
2725
$expected_content = $this->getTestStubContents('Controllers/Customer/Auth/UpdatePasswordController.php');

tests/Feature/Commands/Auth/Controllers/GenerateAuthVerificationControllerCommandTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,15 @@ class GenerateAuthVerificationControllerCommandTest extends TestCase
1111
{
1212
use RefreshDatabase;
1313

14-
/** @test */
15-
public function it_can_generate_auth_verification_controller_output(): void
14+
public function test_it_can_generate_auth_verification_controller_output(): void
1615
{
1716
$expected_content = $this->getTestStubContents('Controllers/Customer/Auth/VerificationController.php');
1817

1918
$this->artisan('generate:auth_verification_controller', ['table' => 'customers'])
2019
->expectsOutput($expected_content);
2120
}
2221

23-
/** @test */
24-
public function it_can_generate_auth_verification_controller_file(): void
22+
public function test_it_can_generate_auth_verification_controller_file(): void
2523
{
2624
$expected_path = $this->app->path('Http/Controllers/Customer/Auth/VerificationController.php');
2725
$expected_content = $this->getTestStubContents('Controllers/Customer/Auth/VerificationController.php');

tests/Feature/Commands/Auth/GenerateAuthConfigCommandTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ protected function tearDown(): void
2323
parent::tearDown();
2424
}
2525

26-
/** @test */
27-
public function it_can_generate_auth_config_output(): void
26+
public function test_it_can_generate_auth_config_output(): void
2827
{
2928
$expected_content = '';
3029

@@ -50,8 +49,7 @@ public function it_can_generate_auth_config_output(): void
5049
->expectsOutput($expected_content);
5150
}
5251

53-
/** @test */
54-
public function it_can_append_config_to_an_existing_auth_config_file(): void
52+
public function test_it_can_append_config_to_an_existing_auth_config_file(): void
5553
{
5654
$expected_path = $this->app->configPath('auth.php');
5755

0 commit comments

Comments
 (0)