diff --git a/tests/Support/CustomTestMacros.php b/tests/Support/CustomTestMacros.php index 0d5df8faa3..be9a527f4c 100644 --- a/tests/Support/CustomTestMacros.php +++ b/tests/Support/CustomTestMacros.php @@ -27,14 +27,12 @@ trait CustomTestMacros } foreach ($models as $model) { - $guardAgainstNullProperty($model, $property); Assert::assertTrue( collect($this['rows'])->pluck($property)->contains(e($model->{$property})), "Response did not contain the expected value: {$model->{$property}}" ); - } return $this;