Improve messaging in testing helper

This commit is contained in:
Marcus Moore 2023-06-22 12:36:30 -07:00
parent 0a5e1e3190
commit 74b072f1b5
No known key found for this signature in database

View file

@ -40,7 +40,7 @@ trait InteractsWithResponses
{
if (is_null($model->{$property})) {
throw new RuntimeException(
"The property ({$property}) is null on the model which isn't helpful for comparison."
"The property ({$property}) either does not exist or is null on the model which isn't helpful for comparison."
);
}
}