aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/user_status/tests/Integration/Service/StatusServiceIntegrationTest.php10
1 files 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 1ca9ce812bc..a035422087b 100644
--- a/apps/user_status/tests/Integration/Service/StatusServiceIntegrationTest.php
+++ b/apps/user_status/tests/Integration/Service/StatusServiceIntegrationTest.php
@@ -154,25 +154,25 @@ class StatusServiceIntegrationTest extends TestCase {
);
$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(),
);
}