diff --git a/modules/opd_presentations/tests/src/Functional/PresentationTest.php b/modules/opd_presentations/tests/src/Functional/PresentationTest.php index 06f10dcb6..16f87150f 100644 --- a/modules/opd_presentations/tests/src/Functional/PresentationTest.php +++ b/modules/opd_presentations/tests/src/Functional/PresentationTest.php @@ -32,7 +32,7 @@ final class PresentationTest extends ExistingSiteBase { ], ); - $events = $presentation->getPastEvents(); + $events = $presentation->getEvents()->getPast(); $this->assertCount( expectedCount: 1,