diff --git a/tests/Http/Controllers/WorkbenchControllerTest.php b/tests/Http/Controllers/WorkbenchControllerTest.php index 77ddab8..370abc7 100644 --- a/tests/Http/Controllers/WorkbenchControllerTest.php +++ b/tests/Http/Controllers/WorkbenchControllerTest.php @@ -61,9 +61,7 @@ protected function getPackageProviders($app) ]; } - /** - * @test - */ + /** @test */ public function it_can_get_current_user_information() { $user = UserFactory::new()->create(); @@ -78,9 +76,7 @@ public function it_can_get_current_user_information() ]); } - /** - * @test - */ + /** @test */ public function it_can_get_current_user_information_without_authenticated_user_return_empty_array() { $user = UserFactory::new()->create(); @@ -91,9 +87,7 @@ public function it_can_get_current_user_information_without_authenticated_user_r $response->assertOk()->assertExactJson([]); } - /** - * @test - */ + /** @test */ public function it_can_authenticate_a_user() { $user = UserFactory::new()->create(); @@ -107,9 +101,7 @@ public function it_can_authenticate_a_user() ->assertAuthenticatedAs($user); } - /** - * @test - */ + /** @test */ public function it_can_authenticate_a_user_using_email() { $user = UserFactory::new()->create(); @@ -123,9 +115,7 @@ public function it_can_authenticate_a_user_using_email() ->assertAuthenticatedAs($user); } - /** - * @test - */ + /** @test */ public function it_can_deauthenticate_a_user() { $user = UserFactory::new()->create(); @@ -139,9 +129,7 @@ public function it_can_deauthenticate_a_user() $this->assertGuest('web'); } - /** - * @test - */ + /** @test */ public function it_can_automatically_authenticate_a_user() { $user = UserFactory::new()->create(); @@ -158,9 +146,7 @@ public function it_can_automatically_authenticate_a_user() ->assertAuthenticatedAs($user); } - /** - * @test - */ + /** @test */ public function it_can_automatically_authenticate_a_user_using_email() { $user = UserFactory::new()->create(); @@ -177,9 +163,7 @@ public function it_can_automatically_authenticate_a_user_using_email() ->assertAuthenticatedAs($user); } - /** - * @test - */ + /** @test */ public function it_can_automatically_deauthenticate_a_user() { $user = UserFactory::new()->create(); diff --git a/tests/Http/Middleware/CatchDefaultRouteTest.php b/tests/Http/Middleware/CatchDefaultRouteTest.php index 76b1d89..6654696 100644 --- a/tests/Http/Middleware/CatchDefaultRouteTest.php +++ b/tests/Http/Middleware/CatchDefaultRouteTest.php @@ -60,9 +60,7 @@ protected function getPackageProviders($app) ]; } - /** - * @test - */ + /** @test */ public function it_would_redirect_to_workbench_path() { $user = UserFactory::new()->create(); @@ -75,9 +73,7 @@ public function it_would_redirect_to_workbench_path() ->assertRedirect('/_workbench'); } - /** - * @test - */ + /** @test */ public function it_would_show_default_page() { $this->instance(ConfigContract::class, new Config([ @@ -102,9 +98,7 @@ public function it_would_show_default_page() ->assertOk(); } - /** - * @test - */ + /** @test */ public function it_would_not_redirect_to_workbench_path_if_configuration_doesnt_requires_it() { $this->instance(ConfigContract::class, new Config([ @@ -129,9 +123,7 @@ public function it_would_not_redirect_to_workbench_path_if_configuration_doesnt_ ->assertNotFound(); } - /** - * @test - */ + /** @test */ public function it_would_not_redirect_to_workbench_path_on_path_other_than_root() { $user = UserFactory::new()->create();