diff options
author | Alex Gleason <alex@alexgleason.me> | 2020-09-11 14:13:38 -0500 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2020-09-11 14:13:38 -0500 |
commit | 9733c9d06563a92e4c58ac906c5f98b617b9e731 (patch) | |
tree | abbf03ddb917c1c203cb79eab64647d3af541fff /test/web/rich_media/parser_test.exs | |
parent | dfb831ca39db3098d6d585448a6ff8e938e51e8c (diff) | |
parent | 9fb88c814ddadd9138ef29550a856938491a1ca4 (diff) | |
download | pleroma-9733c9d06563a92e4c58ac906c5f98b617b9e731.tar.gz pleroma-9733c9d06563a92e4c58ac906c5f98b617b9e731.zip |
Merge remote-tracking branch 'upstream/develop' into chat-moderation
Diffstat (limited to 'test/web/rich_media/parser_test.exs')
-rw-r--r-- | test/web/rich_media/parser_test.exs | 4 |
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 |