From 200a2a72fd1ceb94cf4996ac4c8cabbdfb390dc1 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 14 Jun 2025 22:23:58 +0100 Subject: [PATCH] Fix test --- .../opd_presentations/tests/src/Functional/PresentationTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,