From a632ba51d48ac87e53c562b28a7f43146dc13322 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edi=20Modri=C4=87?= Date: Fri, 4 Mar 2022 13:49:37 +0100 Subject: [PATCH] Remove obsolete test --- tests/Core/FieldType/Birthday/TypeTest.php | 10 ---------- 1 file changed, 10 deletions(-) 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());