This commit is contained in:
philipp lang 2022-11-16 21:23:31 +01:00
parent 3cea7f6b28
commit 5e0aa0ee2b
1 changed files with 3 additions and 0 deletions

View File

@ -73,6 +73,9 @@ abstract class TestCase extends BaseTestCase
return $this;
}
/**
* @param array<string, string> $errors
*/
public function assertErrors(array $errors, TestResponse $response): self
{
$response->assertSessionHas('errors');