diff --git a/tests/Database/DatabaseEloquentIrregularPluralTest.php b/tests/Database/DatabaseEloquentIrregularPluralTest.php index 7d2ce9490b43..9ca4cedc4aa0 100644 --- a/tests/Database/DatabaseEloquentIrregularPluralTest.php +++ b/tests/Database/DatabaseEloquentIrregularPluralTest.php @@ -71,16 +71,14 @@ protected function schema() return $connection->getSchemaBuilder(); } - /** @test */ - public function itPluralizesTheTableName() + public function testItPluralizesTheTableName() { $model = new IrregularPluralHuman; $this->assertSame('irregular_plural_humans', $model->getTable()); } - /** @test */ - public function itTouchesTheParentWithAnIrregularPlural() + public function testItTouchesTheParentWithAnIrregularPlural() { Carbon::setTestNow('2018-05-01 12:13:14'); @@ -104,8 +102,7 @@ public function itTouchesTheParentWithAnIrregularPlural() $this->assertSame('2018-05-01 15:16:17', (string) $human->updated_at); } - /** @test */ - public function itPluralizesMorphToManyRelationships() + public function testItPluralizesMorphToManyRelationships() { $human = IrregularPluralHuman::create(['email' => 'bobby@example.com']); diff --git a/tests/Foundation/FoundationApplicationTest.php b/tests/Foundation/FoundationApplicationTest.php index 8f1ce849d6a8..f23dc801f33d 100755 --- a/tests/Foundation/FoundationApplicationTest.php +++ b/tests/Foundation/FoundationApplicationTest.php @@ -500,7 +500,6 @@ public function testEnvPathsAreAbsoluteInWindows() ); } - /** @test */ public function testMacroable(): void { $app = new Application; @@ -517,7 +516,6 @@ public function testMacroable(): void $this->assertFalse($app->foo()); } - /** @test */ public function testUseConfigPath(): void { $app = new Application; diff --git a/tests/Integration/Auth/ForgotPasswordTest.php b/tests/Integration/Auth/ForgotPasswordTest.php index 94766105ae78..46a682c229d8 100644 --- a/tests/Integration/Auth/ForgotPasswordTest.php +++ b/tests/Integration/Auth/ForgotPasswordTest.php @@ -43,8 +43,7 @@ protected function defineRoutes($router) })->name('custom.password.reset'); } - /** @test */ - public function it_can_send_forgot_password_email() + public function testItCanSendForgotPasswordEmail() { Notification::fake(); @@ -67,8 +66,7 @@ function (ResetPassword $notification, $channels) use ($user) { ); } - /** @test */ - public function it_can_send_forgot_password_email_via_create_url_using() + public function testItCanSendForgotPasswordEmailViaCreateUrlUsing() { Notification::fake(); @@ -95,8 +93,7 @@ function (ResetPassword $notification, $channels) use ($user) { ); } - /** @test */ - public function it_can_send_forgot_password_email_via_to_mail_using() + public function testItCanSendForgotPasswordEmailViaToMailUsing() { Notification::fake(); diff --git a/tests/Integration/Auth/ForgotPasswordWithoutDefaultRoutesTest.php b/tests/Integration/Auth/ForgotPasswordWithoutDefaultRoutesTest.php index 221601ac76f6..e34dcd78b82d 100644 --- a/tests/Integration/Auth/ForgotPasswordWithoutDefaultRoutesTest.php +++ b/tests/Integration/Auth/ForgotPasswordWithoutDefaultRoutesTest.php @@ -39,8 +39,7 @@ protected function defineRoutes($router) })->name('custom.password.reset'); } - /** @test */ - public function it_cannot_send_forgot_password_email() + public function testItCannotSendForgotPasswordEmail() { $this->expectException('Symfony\Component\Routing\Exception\RouteNotFoundException'); $this->expectExceptionMessage('Route [password.reset] not defined.'); @@ -66,8 +65,7 @@ function (ResetPassword $notification, $channels) use ($user) { ); } - /** @test */ - public function it_can_send_forgot_password_email_via_create_url_using() + public function testItCanSendForgotPasswordEmailViaCreateUrlUsing() { Notification::fake(); @@ -94,8 +92,7 @@ function (ResetPassword $notification, $channels) use ($user) { ); } - /** @test */ - public function it_can_send_forgot_password_email_via_to_mail_using() + public function testItCanSendForgotPasswordEmailViaToMailUsing() { Notification::fake(); diff --git a/tests/Integration/Foundation/FoundationServiceProvidersTest.php b/tests/Integration/Foundation/FoundationServiceProvidersTest.php index bfc39cd44b3c..2a091b169192 100644 --- a/tests/Integration/Foundation/FoundationServiceProvidersTest.php +++ b/tests/Integration/Foundation/FoundationServiceProvidersTest.php @@ -12,8 +12,7 @@ protected function getPackageProviders($app) return [HeadServiceProvider::class]; } - /** @test */ - public function it_can_boot_service_provider_registered_from_another_service_provider() + public function testItCanBootServiceProviderRegisteredFromAnotherServiceProvider() { $this->assertTrue($this->app['tail.registered']); $this->assertTrue($this->app['tail.booted']); diff --git a/tests/Integration/Generators/FactoryMakeCommandTest.php b/tests/Integration/Generators/FactoryMakeCommandTest.php index 02ec76943c99..fccbe1fb0282 100644 --- a/tests/Integration/Generators/FactoryMakeCommandTest.php +++ b/tests/Integration/Generators/FactoryMakeCommandTest.php @@ -8,7 +8,6 @@ class FactoryMakeCommandTest extends TestCase 'database/factories/FooFactory.php', ]; - /** @test */ public function testItCanGenerateFactoryFile() { $this->artisan('make:factory', ['name' => 'FooFactory']) diff --git a/tests/Integration/Generators/ResourceMakeCommandTest.php b/tests/Integration/Generators/ResourceMakeCommandTest.php index b50b40872a85..eb1457a9b650 100644 --- a/tests/Integration/Generators/ResourceMakeCommandTest.php +++ b/tests/Integration/Generators/ResourceMakeCommandTest.php @@ -9,8 +9,7 @@ class ResourceMakeCommandTest extends TestCase 'app/Http/Resources/FooResourceCollection.php', ]; - /** @test */ - public function it_can_generate_resource_file() + public function testItCanGenerateResourceFile() { $this->artisan('make:resource', ['name' => 'FooResource']) ->assertExitCode(0); @@ -22,8 +21,7 @@ public function it_can_generate_resource_file() ], 'app/Http/Resources/FooResource.php'); } - /** @test */ - public function it_can_generate_resource_collection_file() + public function testItCanGenerateResourceCollectionFile() { $this->artisan('make:resource', ['name' => 'FooResourceCollection', '--collection' => true]) ->assertExitCode(0); diff --git a/tests/Support/SupportStrTest.php b/tests/Support/SupportStrTest.php index 231e9fa66599..698ba8bba4ab 100755 --- a/tests/Support/SupportStrTest.php +++ b/tests/Support/SupportStrTest.php @@ -533,8 +533,7 @@ public function testRandom() $this->assertIsString(Str::random()); } - /** @test */ - public function TestWhetherTheNumberOfGeneratedCharactersIsEquallyDistributed() + public function testWhetherTheNumberOfGeneratedCharactersIsEquallyDistributed() { $results = []; // take 6.200.000 samples, because there are 62 different characters