diff --git a/autotest/OldTests/src/test/java/com/tle/webtests/test/cal/CALBookActivationTest.java b/autotest/OldTests/src/test/java/com/tle/webtests/test/cal/CALBookActivationTest.java index 7232ed139d..a7e6d5013c 100644 --- a/autotest/OldTests/src/test/java/com/tle/webtests/test/cal/CALBookActivationTest.java +++ b/autotest/OldTests/src/test/java/com/tle/webtests/test/cal/CALBookActivationTest.java @@ -46,7 +46,7 @@ public void testDateValidation() { com.tle.webtests.pageobject.generic.component.Calendar untilDate = activatePage.getUntilDate(); untilDate.dateEquals(cal); - summary = activatePage.cancel(summary.updateWaiter()); + summary = activatePage.cancel(summary); activatePage = summary.activate(1, ATTACH1_FILENAME); activatePage.setCourse("A Simple Course"); activatePage.setDatesHidden(getInvalidRange());