From 940a9b2505fb6e72ded2b4285f77ecf1ed60ee10 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 20 Aug 2021 03:45:43 -0400 Subject: [PATCH] Add test for issue #10617 --- tests/src/Protocol/ActivityPub/ProcessorTest.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/src/Protocol/ActivityPub/ProcessorTest.php b/tests/src/Protocol/ActivityPub/ProcessorTest.php index 894e90af2..eeed1a34f 100644 --- a/tests/src/Protocol/ActivityPub/ProcessorTest.php +++ b/tests/src/Protocol/ActivityPub/ProcessorTest.php @@ -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' + ], + ], + ], ]; }