aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-10-18 07:39:41 +0200
committerJoas Schilling <coding@schilljs.com>2024-10-18 07:39:41 +0200
commit882f91605b06bddc563c86a24a0c606cef31278b (patch)
tree12a93d7efe967910b6c78d2b69b61c7403467be4
parentb61a8cfeba5e5fc8eecb9d4d10cd55096b527608 (diff)
downloadnextcloud-server-882f91605b06bddc563c86a24a0c606cef31278b.tar.gz
nextcloud-server-882f91605b06bddc563c86a24a0c606cef31278b.zip
fix(comments): Add test for email mentionfeat/noid/support-email-mentions
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--tests/lib/Comments/CommentTest.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/lib/Comments/CommentTest.php b/tests/lib/Comments/CommentTest.php
index 742ce33071f..3cfc897b28e 100644
--- a/tests/lib/Comments/CommentTest.php
+++ b/tests/lib/Comments/CommentTest.php
@@ -196,6 +196,12 @@ class CommentTest extends TestCase {
['type' => 'federated_team', 'id' => 'Former Cirle'],
],
],
+ [
+ 'Emails are supported since 30.0.2 right? @"email/aa23d315de327cfc330f0401ea061005b2b0cdd45ec8346f12664dd1f34cb886"',
+ [
+ ['type' => 'email', 'id' => 'aa23d315de327cfc330f0401ea061005b2b0cdd45ec8346f12664dd1f34cb886'],
+ ],
+ ],
];
}