diff --git a/apps/dav/tests/unit/BackgroundJob/UserStatusAutomationTest.php b/apps/dav/tests/unit/BackgroundJob/UserStatusAutomationTest.php index fe6919d8daecb..ad92df238f038 100644 --- a/apps/dav/tests/unit/BackgroundJob/UserStatusAutomationTest.php +++ b/apps/dav/tests/unit/BackgroundJob/UserStatusAutomationTest.php @@ -228,7 +228,7 @@ public function testRunNoAvailabilityWithOOO(): void { ->method('revertUserStatus'); $this->statusManager->expects(self::once()) ->method('setUserStatus') - ->with('user', IUserStatus::MESSAGE_VACATION, IUserStatus::DND, true, $ooo->getShortMessage()); + ->with('user', IUserStatus::MESSAGE_OUT_OF_OFFICE, IUserStatus::DND, true, $ooo->getShortMessage()); $this->config->expects(self::never()) ->method('getUserValue'); $this->time->method('getDateTime')