Skip to content

Commit

Permalink
Remove obsolete test
Browse files Browse the repository at this point in the history
  • Loading branch information
emodric committed Mar 4, 2022
1 parent e23c3a2 commit a632ba5
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/Core/FieldType/Birthday/TypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit a632ba5

Please sign in to comment.