From fa74b545b6510e97cf67e03ac221f31dd4e5e761 Mon Sep 17 00:00:00 2001 From: hobsRKM Date: Sat, 4 May 2024 19:29:37 +0530 Subject: [PATCH 1/3] Update ExampleTest.php --- tests/Feature/ExampleTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.php index 8364a84..9f86575 100755 --- a/tests/Feature/ExampleTest.php +++ b/tests/Feature/ExampleTest.php @@ -12,7 +12,7 @@ class ExampleTest extends TestCase */ public function test_the_application_returns_a_successful_response(): void { - $response = $this->get('/'); + $response = $this->withoutMiddleware()->get('/'); $response->assertStatus(200); } From 76b91c7935344b6b61b5f943064aab904eff5746 Mon Sep 17 00:00:00 2001 From: hobsRKM Date: Sat, 4 May 2024 19:32:26 +0530 Subject: [PATCH 2/3] Update ExampleTest.php --- tests/Feature/ExampleTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.php index 9f86575..fb672bb 100755 --- a/tests/Feature/ExampleTest.php +++ b/tests/Feature/ExampleTest.php @@ -14,6 +14,6 @@ public function test_the_application_returns_a_successful_response(): void { $response = $this->withoutMiddleware()->get('/'); - $response->assertStatus(200); + $response->assertRedirect(); } } From 83c12c7f4151b0040fc52d7bc78564bae9ae8378 Mon Sep 17 00:00:00 2001 From: hobsRKM Date: Sat, 4 May 2024 21:03:45 +0530 Subject: [PATCH 3/3] Update ExampleTest.php --- tests/Feature/ExampleTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.php index e7017d4..86e4389 100755 --- a/tests/Feature/ExampleTest.php +++ b/tests/Feature/ExampleTest.php @@ -17,6 +17,6 @@ public function test_the_application_returns_a_successful_response(): void { $response = $this->withoutMiddleware()->get('/'); - $response->assertRedirect(); + $response->assertStatus(200); } }