This commit is contained in:
philipp lang 2025-04-06 17:33:56 +02:00
parent bd26458041
commit c20cf930f2
1 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,9 @@ abstract class Fake
return Http::response('<html></html>');
}
/**
* @param array<array-key, mixed>|callable $should
*/
public function assertBodyMatches(string $is, array|callable $should): bool
{
$requestBody = json_decode($is, true);