You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"The number of found records in table {$table} ({$currentNum}) does not match expected number $expectedNum with " . json_encode($attributes)
285
+
"The number of found records in table {$table} ({$currentNum}) does not match expected number $expectedNum with " . json_encode($attributes, JSON_THROW_ON_ERROR)
286
286
);
287
287
}
288
288
}
@@ -310,7 +310,7 @@ public function seeRecord($table, $attributes = []): void
310
310
311
311
if (class_exists($table)) {
312
312
if (!$foundMatchingRecord = (bool)$this->findModel($table, $attributes)) {
313
-
$this->fail("Could not find {$table} with " . json_encode($attributes));
313
+
$this->fail("Could not find {$table} with " . json_encode($attributes, JSON_THROW_ON_ERROR));
0 commit comments