summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorcall-me-matt <nextcloud@matthiasheinisch.de>2023-01-28 13:15:56 +0100
committercall-me-matt <nextcloud@matthiasheinisch.de>2023-01-28 13:15:56 +0100
commitc193a600d7b33b57bff4bf9e50a6189eb5e2d6fa (patch)
tree146448e805c48b2d52e55edd12c41868181ddc6a /tests
parent3c43b1bc91eca6a3c6737f100f6413b68cebc2be (diff)
prioritize local users in mastodon avatar download, fixes #3210
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/Service/Social/MastodonProviderTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/Service/Social/MastodonProviderTest.php b/tests/unit/Service/Social/MastodonProviderTest.php
index 5add27c1..10357a63 100644
--- a/tests/unit/Service/Social/MastodonProviderTest.php
+++ b/tests/unit/Service/Social/MastodonProviderTest.php
@@ -98,9 +98,9 @@ class MastodonProviderTest extends TestCase {
]
];
$contactWithSocialUrls = [
- "https://cloud1/api/v2/search?q=user1",
- "https://cloud2/api/v2/search?q=user2",
- "https://cloud3//api/v2/search?q=user3",
+ "https://cloud1/api/v2/search?q=user1@cloud1",
+ "https://cloud2/api/v2/search?q=user2@cloud2",
+ "https://cloud3//api/v2/search?q=user3@cloud3",
"https://cloud1/api/v1/accounts/1",
"https://cloud2/api/v1/accounts/2",
"https://cloud3//api/v1/accounts/3"