aboutsummaryrefslogtreecommitdiff
path: root/test/web/rich_media
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-09-07 15:00:14 +0200
committerlain <lain@soykaf.club>2020-09-07 15:00:14 +0200
commitd00f74e036735c1c238f661076f2925b39daa6ac (patch)
treed70d9fcfb1b815406b739ac5b012846fd0622a2f /test/web/rich_media
parentbb007b9298b514c305dff944bef8463ffe1596a8 (diff)
parent6c6de8e5dfaf245e4e16ddca0c741342eeaa9187 (diff)
downloadpleroma-matrix-explorations.tar.gz
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into matrix-explorationsmatrix-explorations
Diffstat (limited to 'test/web/rich_media')
-rw-r--r--test/web/rich_media/parser_test.exs4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/web/rich_media/parser_test.exs b/test/web/rich_media/parser_test.exs
index 1e09cbf84..21ae35f8b 100644
--- a/test/web/rich_media/parser_test.exs
+++ b/test/web/rich_media/parser_test.exs
@@ -66,9 +66,7 @@ defmodule Pleroma.Web.RichMedia.ParserTest do
end
test "doesn't just add a title" do
- assert Parser.parse("http://example.com/non-ogp") ==
- {:error,
- "Found metadata was invalid or incomplete: %{\"url\" => \"http://example.com/non-ogp\"}"}
+ assert {:error, {:invalid_metadata, _}} = Parser.parse("http://example.com/non-ogp")
end
test "parses ogp" do