mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Improve messaging in testing helper
This commit is contained in:
parent
0a5e1e3190
commit
74b072f1b5
|
@ -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."
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue