diff options
author | Anna Larch <anna@nextcloud.com> | 2023-12-15 11:07:09 +0100 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2023-12-18 12:06:57 +0000 |
commit | deb4bef923f7ce6f98efc07974a3a6cd0b86abb6 (patch) | |
tree | ae04866195bf53c375fedf4a82d2ffc10b5aacbf /apps/user_status/tests | |
parent | 36f91063a1ad0a3d499f48c03d73ed07f4a253de (diff) | |
download | nextcloud-server-deb4bef923f7ce6f98efc07974a3a6cd0b86abb6.tar.gz nextcloud-server-deb4bef923f7ce6f98efc07974a3a6cd0b86abb6.zip |
fix(ooo): add new ooo status with new emoji
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'apps/user_status/tests')
-rw-r--r-- | apps/user_status/tests/Unit/Service/PredefinedStatusServiceTest.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/apps/user_status/tests/Unit/Service/PredefinedStatusServiceTest.php b/apps/user_status/tests/Unit/Service/PredefinedStatusServiceTest.php index 0a65256bfac..c6850621dd8 100644 --- a/apps/user_status/tests/Unit/Service/PredefinedStatusServiceTest.php +++ b/apps/user_status/tests/Unit/Service/PredefinedStatusServiceTest.php @@ -47,7 +47,7 @@ class PredefinedStatusServiceTest extends TestCase { } public function testGetDefaultStatuses(): void { - $this->l10n->expects($this->exactly(6)) + $this->l10n->expects($this->exactly(7)) ->method('t') ->withConsecutive( ['In a meeting'], @@ -110,6 +110,13 @@ class PredefinedStatusServiceTest extends TestCase { 'clearAt' => null, 'visible' => false, ], + [ + 'id' => 'out-of-office', + 'icon' => '🛑', + 'message' => 'Out of office', + 'clearAt' => null, + 'visible' => false, + ], ], $actual); } @@ -195,7 +202,7 @@ class PredefinedStatusServiceTest extends TestCase { } public function testGetDefaultStatusById(): void { - $this->l10n->expects($this->exactly(6)) + $this->l10n->expects($this->exactly(7)) ->method('t') ->withConsecutive( ['In a meeting'], |