diff --git a/src/TestCase/WPGraphQLTestCommon.php b/src/TestCase/WPGraphQLTestCommon.php index 139c74e..89f4f9f 100644 --- a/src/TestCase/WPGraphQLTestCommon.php +++ b/src/TestCase/WPGraphQLTestCommon.php @@ -601,7 +601,7 @@ public static function assertQuerySuccessful( array $response, array $expected, foreach( $expected as $expected_data ) { $data_passing = static::_assertExpectedDataFound( $response, $expected_data, '', $message ); if ( ! $data_passing ) { - break; + static::fail( $message ); } } }