diff --git a/tests/Issues/Issue/Issue79Test.php b/tests/Issues/Issue/Issue79Test.php index b0da112..a3e9db8 100644 --- a/tests/Issues/Issue/Issue79Test.php +++ b/tests/Issues/Issue/Issue79Test.php @@ -34,7 +34,7 @@ public function testCombinedReferenceAndObjectDefinitionWithInvalidDataThrowsAnE $this->expectException(ErrorRegistryException::class); - new $className(['name' => 23, 'age' => 'A28']); + new $className($data); } public static function invalidInputDataProvider(): array