Fix test
This commit is contained in:
parent
725704fafa
commit
3eda366625
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ final class PresentationTest extends ExistingSiteBase {
|
||||||
public function test_only_past_events_are_returned(): void {
|
public function test_only_past_events_are_returned(): void {
|
||||||
$presentation = $this->createPresentation(
|
$presentation = $this->createPresentation(
|
||||||
events: [
|
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('yesterday'))->format('U')]),
|
||||||
$this->createEvent(['field_date' => (new DrupalDateTime('tomorrow'))->format('U')]),
|
$this->createEvent(['field_date' => (new DrupalDateTime('tomorrow'))->format('U')]),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue