diff --git a/tests/Core/FieldType/Birthday/TypeTest.php b/tests/Core/FieldType/Birthday/TypeTest.php index 9cf1e69..2860251 100644 --- a/tests/Core/FieldType/Birthday/TypeTest.php +++ b/tests/Core/FieldType/Birthday/TypeTest.php @@ -158,16 +158,6 @@ public function testAcceptValueWithValue(): void $this->type->acceptValue($value); } - public function testAcceptValueWithInvalidValue(): void - { - $this->expectException(InvalidArgumentType::class); - $this->expectExceptionMessage("Argument '\$value->date' is invalid: value must be of type 'DateTime', not 'string'"); - - $value = new Value(); - - $this->type->acceptValue($value); - } - public function testToPersistenceValue(): void { $value = new Value(new DateTimeImmutable());