mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -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})) {
|
if (is_null($model->{$property})) {
|
||||||
throw new RuntimeException(
|
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