summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2021-02-23 08:50:56 +0100
committerGitHub <noreply@github.com>2021-02-23 08:50:56 +0100
commit9d3cc8f44bd6f90685741eb37f413d3792cce4b9 (patch)
tree9add661f55a6277f678f4a0126e6fd15d2579cb1 /tests
parent308ca322c95d295fdeef70a48507a6da8b245fbd (diff)
parentb4b7ad6caa7ad8e3a013aac92faf8a7df9a38f26 (diff)
Merge pull request #2081 from nextcloud/fix/twitter-uri
adapted twitter uri
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/Service/Social/TwitterProviderTest.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/unit/Service/Social/TwitterProviderTest.php b/tests/unit/Service/Social/TwitterProviderTest.php
index fbaf05ca..45d527d4 100644
--- a/tests/unit/Service/Social/TwitterProviderTest.php
+++ b/tests/unit/Service/Social/TwitterProviderTest.php
@@ -100,16 +100,16 @@ class TwitterProviderTest extends TestCase {
]
];
$contactWithSocialUrls = [
- "https://mobile.twitter.com/username1",
- "https://mobile.twitter.com/username2",
+ "https://twitter.com/username1",
+ "https://twitter.com/username2",
];
$contactWithSocialHtml = [
- '<html><img src="username1_normal.jpg" /></html>',
- '<html><img src="username2_normal.jpg" /></html>',
+ '<html><img src="./profile_images/username1_normal.jpg" /></html>',
+ '<html><img src="./profile_images/username2_normal.jpg" /></html>',
];
$contactWithSocialImgs = [
- "username1_400x400.jpg",
- "username2_400x400.jpg"
+ "./profile_images/username1_400x400.jpg",
+ "./profile_images/username2_400x400.jpg"
];
$contactWithoutSocial = [