Skip to content

Commit 0161e99

Browse files
authored
Revert "[9.x] Add statusText for an assertion message (#43774)" (#43831)
This reverts commit 1ae8ffd.
1 parent 698a891 commit 0161e99

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Illuminate/Testing/TestResponse.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,7 @@ protected function statusMessageWithDetails($expected, $actual)
212212
}
213213
}
214214

215-
$statusText = $this->statusText();
216-
217-
return "Expected response status code [{$expected}] but received {$actual} ({$statusText}).";
215+
return "Expected response status code [{$expected}] but received {$actual}.";
218216
}
219217

220218
/**

0 commit comments

Comments
 (0)