]> git.mxchange.org Git - friendica.git/commitdiff
Add test for issue #10617
authorHypolite Petovan <hypolite@mrpetovan.com>
Fri, 20 Aug 2021 07:45:43 +0000 (03:45 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Fri, 20 Aug 2021 07:45:43 +0000 (03:45 -0400)
tests/src/Protocol/ActivityPub/ProcessorTest.php

index 894e90af282e4b8228dd0e52a462d86de59487f8..eeed1a34f28bfa53c03464fcb626eafc0e843c92 100644 (file)
@@ -70,6 +70,17 @@ class ProcessorTest extends TestCase
                                        ]
                                ],
                        ],
+                       'issue-10617' => [
+                               'expected' => '@[url=https://mastodon.technology/@sergey_m]sergey_m[/url]',
+                               'body'     => '@[url=https://mastodon.technology/@sergey_m]sergey_m[/url]',
+                               'tags'     => [
+                                       [
+                                               'type' => 'Mention',
+                                               'href' => 'https://mastodon.technology/@sergey_m',
+                                               'name' => '@sergey_m'
+                                       ],
+                               ],
+                       ],
                ];
        }