Skip to content

Commit

Permalink
fix: Remove event startDate test case (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickevansuk authored May 24, 2024
1 parent 45ceb5e commit a821e65
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions tests/Unit/Formatting/DateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,23 +69,6 @@ function testSetSchedule() {
$this->assertEquals($expected, $serialized);
}

function testEventDate() {
$schedule = new Event(["startDate" => "2019-11-29"]);

$serialized = Event::toArray($schedule);

$expected = [
"@type" => "Event",
"@context" => [
"https://openactive.io/",
"https://openactive.io/ns-beta"
],
"startDate" => "2019-11-29"
];

$this->assertEquals($expected, $serialized);
}

function testEventDateTime() {
$schedule = new Event(["startDate" => "2019-11-29T10:00:00Z"]);

Expand Down

0 comments on commit a821e65

Please sign in to comment.