From 74b072f1b5d68a0fa2289f0b7854926e17ea227e Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Thu, 22 Jun 2023 12:36:30 -0700 Subject: [PATCH] Improve messaging in testing helper --- tests/Support/InteractsWithResponses.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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." ); } }