diff options
author | Anna Larch <anna@nextcloud.com> | 2023-12-15 11:07:09 +0100 |
---|---|---|
committer | Anna Larch <anna@nextcloud.com> | 2023-12-18 11:35:00 +0100 |
commit | fc4ef6133b6f236a9eb56d7c302eeb43b9d07e9d (patch) | |
tree | 64ef84c779ce39488b99456d30cfc5edb3c5f4cc /apps/user_status/tests | |
parent | 0ff674607f1bbf108d4318a8844f7d3f7e7a2cd6 (diff) | |
download | nextcloud-server-fc4ef6133b6f236a9eb56d7c302eeb43b9d07e9d.tar.gz nextcloud-server-fc4ef6133b6f236a9eb56d7c302eeb43b9d07e9d.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'], |