Update event names

Make them more realistic and more obvious which is the event date and
which is the event name.
This commit is contained in:
Oliver Davies 2025-06-12 23:08:04 +01:00
parent 0e3f982d99
commit c2dd8a1a07

View file

@ -16,17 +16,17 @@ final class PresentationTest extends ExistingSiteBase {
events: [ events: [
$this->createEvent( $this->createEvent(
eventDate: 'now', eventDate: 'now',
eventName: 'now', eventName: 'PHP South West',
), ),
$this->createEvent( $this->createEvent(
eventDate: 'yesterday', eventDate: 'yesterday',
eventName: 'yesterday', eventName: 'DrupalCon Lille',
), ),
$this->createEvent( $this->createEvent(
eventDate: 'tomorrow', eventDate: 'tomorrow',
eventName: 'tomorrow', eventName: 'PHP Oxford',
), ),
], ],
); );
@ -40,7 +40,7 @@ final class PresentationTest extends ExistingSiteBase {
$this->assertSame( $this->assertSame(
actual: $events->first()->getEventName(), actual: $events->first()->getEventName(),
expected: 'yesterday', expected: 'DrupalCon Lille',
); );
} }