This commit is contained in:
Oliver Davies 2025-06-11 09:08:52 +01:00
parent 725704fafa
commit 3eda366625

View file

@ -15,7 +15,7 @@ final class PresentationTest extends ExistingSiteBase {
public function test_only_past_events_are_returned(): void {
$presentation = $this->createPresentation(
events: [
$this->createEvent(['field_date' => (new DrupalDateTime('today'))->format('U')]),
$this->createEvent(['field_date' => (new DrupalDateTime('now'))->format('U')]),
$this->createEvent(['field_date' => (new DrupalDateTime('yesterday'))->format('U')]),
$this->createEvent(['field_date' => (new DrupalDateTime('tomorrow'))->format('U')]),
],