summaryrefslogtreecommitdiff
path: root/test/fixtures
diff options
context:
space:
mode:
authorfeld <feld@feld.me>2024-02-05 05:58:07 +0000
committerfeld <feld@feld.me>2024-02-05 05:58:07 +0000
commite9573627792df4cdaea15f1ca1563594f477cd8e (patch)
tree807c250040165fd768477586b9d5c1df534e865a /test/fixtures
parent0b9990a7e53061439a7fa9dbe3e39e3ee22d1371 (diff)
parent0cc038b67c231090827c1b4e71a32f65ee7c3d88 (diff)
downloadpleroma-e9573627792df4cdaea15f1ca1563594f477cd8e.tar.gz
pleroma-e9573627792df4cdaea15f1ca1563594f477cd8e.zip
Merge branch 'rich-media-cache' into 'develop'
Fix Rich Media Previews for updated activities See merge request pleroma/pleroma!4052
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/rich_media/google.html12
-rw-r--r--test/fixtures/rich_media/yahoo.html12
2 files changed, 24 insertions, 0 deletions
diff --git a/test/fixtures/rich_media/google.html b/test/fixtures/rich_media/google.html
new file mode 100644
index 000000000..c068397a5
--- /dev/null
+++ b/test/fixtures/rich_media/google.html
@@ -0,0 +1,12 @@
+<meta property="og:url" content="https://google.com">
+<meta property="og:type" content="website">
+<meta property="og:title" content="Google">
+<meta property="og:description" content="Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.">
+<meta property="og:image" content="">
+
+<meta name="twitter:card" content="summary_large_image">
+<meta property="twitter:domain" content="google.com">
+<meta property="twitter:url" content="https://google.com">
+<meta name="twitter:title" content="Google">
+<meta name="twitter:description" content="Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.">
+<meta name="twitter:image" content="">
diff --git a/test/fixtures/rich_media/yahoo.html b/test/fixtures/rich_media/yahoo.html
new file mode 100644
index 000000000..41d8c5cd9
--- /dev/null
+++ b/test/fixtures/rich_media/yahoo.html
@@ -0,0 +1,12 @@
+<meta property="og:url" content="https://yahoo.com">
+<meta property="og:type" content="website">
+<meta property="og:title" content="Yahoo | Mail, Weather, Search, Politics, News, Finance, Sports & Videos">
+<meta property="og:description" content="Latest news coverage, email, free stock quotes, live scores and video are just the beginning. Discover more every day at Yahoo!">
+<meta property="og:image" content="https://s.yimg.com/cv/apiv2/social/images/yahoo_default_logo.png">
+
+<meta name="twitter:card" content="summary_large_image">
+<meta property="twitter:domain" content="yahoo.com">
+<meta property="twitter:url" content="https://yahoo.com">
+<meta name="twitter:title" content="Yahoo | Mail, Weather, Search, Politics, News, Finance, Sports & Videos">
+<meta name="twitter:description" content="Latest news coverage, email, free stock quotes, live scores and video are just the beginning. Discover more every day at Yahoo!">
+<meta name="twitter:image" content="https://s.yimg.com/cv/apiv2/social/images/yahoo_default_logo.png">