Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3142d3f

Browse filesBrowse files
authored
Use assertOk() instead of assertStatus(200) (#6287)
1 parent e57d15a commit 3142d3f
Copy full SHA for 3142d3f

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎tests/Feature/ExampleTest.php

Copy file name to clipboardExpand all lines: tests/Feature/ExampleTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ public function test_the_application_returns_a_successful_response(): void
1414
{
1515
$response = $this->get('/');
1616

17-
$response->assertStatus(200);
17+
$response->assertOk();
1818
}
1919
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.