From 3142d3feb916d93683c020189c00f4e89d6ab385 Mon Sep 17 00:00:00 2001 From: TENIOS <40282681+TENIOS@users.noreply.github.com> Date: Mon, 11 Dec 2023 15:17:19 +0700 Subject: [PATCH] Use `assertOk()` instead of `assertStatus(200)` (#6287) --- 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 8364a84e..2a4a09ee 100644 --- 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->get('/'); - $response->assertStatus(200); + $response->assertOk(); } }