Skip to content

A free open source IT asset/license management system

Improve messaging in testing helper

Marcus Moore74b072f1b5d6
diff --git a/tests/Support/InteractsWithResponses.php b/tests/Support/InteractsWithResponses.php
index 1fb6f311be..03faf0ef22 100644
--- a/tests/Support/InteractsWithResponses.php
+++ b/tests/Support/InteractsWithResponses.php
@@ -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."
);
}
}