diff --git a/modules/thunder_gqls/tests/src/Traits/ThunderGqlsTestTrait.php b/modules/thunder_gqls/tests/src/Traits/ThunderGqlsTestTrait.php index 1608ed543..75dca16a5 100644 --- a/modules/thunder_gqls/tests/src/Traits/ThunderGqlsTestTrait.php +++ b/modules/thunder_gqls/tests/src/Traits/ThunderGqlsTestTrait.php @@ -29,7 +29,11 @@ protected function runAndTestQuery(string $schema): void { $expectedData = $this->jsonDecode($this->getExpectedResponseFromFile($schema))['data']; - $this->assertEqualsCanonicalizing($expectedData, $responseData); + $this->assertEqualsCanonicalizing( + $expectedData, + $responseData, + 'The expected schema for "' . $schema . '" did not match the result.' + ); } /**