From 2110698ea37b515f0de527faf53177981b060d69 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 19 Sep 2024 17:51:01 +0200 Subject: [PATCH] fix(user_status): Fix integration test of user status Signed-off-by: Joas Schilling --- .../Service/StatusServiceIntegrationTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/user_status/tests/Integration/Service/StatusServiceIntegrationTest.php b/apps/user_status/tests/Integration/Service/StatusServiceIntegrationTest.php index 1ca9ce812bce8..a035422087b4e 100644 --- a/apps/user_status/tests/Integration/Service/StatusServiceIntegrationTest.php +++ b/apps/user_status/tests/Integration/Service/StatusServiceIntegrationTest.php @@ -154,25 +154,25 @@ public function testOtherAutomationsDoNotOverwriteEachOther(): void { ); $this->service->setUserStatus( 'test123', - IUserStatus::AWAY, - IUserStatus::MESSAGE_CALENDAR_BUSY, + IUserStatus::DND, + IUserStatus::MESSAGE_AVAILABILITY, true, ); self::assertSame( - 'meeting', + 'availability', $this->service->findByUserId('test123')->getMessageId(), ); $nostatus = $this->service->setUserStatus( 'test123', IUserStatus::AWAY, - IUserStatus::MESSAGE_AVAILABILITY, + IUserStatus::MESSAGE_CALENDAR_BUSY, true, ); self::assertNull($nostatus); self::assertSame( - IUserStatus::MESSAGE_CALENDAR_BUSY, + IUserStatus::MESSAGE_AVAILABILITY, $this->service->findByUserId('test123')->getMessageId(), ); }