summaryrefslogtreecommitdiff
path: root/test/fixtures/rich_media
diff options
context:
space:
mode:
authorSergey Suprunenko <suprunenko.s@gmail.com>2019-05-30 21:03:31 +0000
committerfeld <feld@feld.me>2019-05-30 21:03:31 +0000
commit1690be991ede33998203226998b8023a247a4f84 (patch)
treee786a84700608abe39307ffe241a0e3e0164e105 /test/fixtures/rich_media
parent91ac8b075b0a8c82b5e8a9d3316724e534486932 (diff)
downloadpleroma-1690be991ede33998203226998b8023a247a4f84.tar.gz
pleroma-1690be991ede33998203226998b8023a247a4f84.zip
Replace missing non-nullable Card attributes with empty strings
Diffstat (limited to 'test/fixtures/rich_media')
-rw-r--r--test/fixtures/rich_media/ogp-missing-data.html8
-rw-r--r--test/fixtures/rich_media/ogp.html1
2 files changed, 9 insertions, 0 deletions
diff --git a/test/fixtures/rich_media/ogp-missing-data.html b/test/fixtures/rich_media/ogp-missing-data.html
new file mode 100644
index 000000000..5746dc2f4
--- /dev/null
+++ b/test/fixtures/rich_media/ogp-missing-data.html
@@ -0,0 +1,8 @@
+<html prefix="og: http://ogp.me/ns#">
+ <head>
+ <title>Pleroma</title>
+ <meta property="og:title" content="Pleroma" />
+ <meta property="og:type" content="website" />
+ <meta property="og:url" content="https://pleroma.social/" />
+ </head>
+</html>
diff --git a/test/fixtures/rich_media/ogp.html b/test/fixtures/rich_media/ogp.html
index c886b5871..4b5a33595 100644
--- a/test/fixtures/rich_media/ogp.html
+++ b/test/fixtures/rich_media/ogp.html
@@ -5,5 +5,6 @@
<meta property="og:type" content="video.movie" />
<meta property="og:url" content="http://www.imdb.com/title/tt0117500/" />
<meta property="og:image" content="http://ia.media-imdb.com/images/rock.jpg" />
+ <meta property="og:description" content="Directed by Michael Bay. With Sean Connery, Nicolas Cage, Ed Harris, John Spencer.">
</head>
</html>