X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fweb%2Frich_media%2Fparser_test.exs;h=6d00c2af56ebf181aeb0c8f4ff13e980033babe5;hb=9c672ecbb5d4477cd16d2139a2cb66d3923ac5c8;hp=d65a631211ccce27a62b15f328684f4f513b6a4d;hpb=f70335002df9b2b3f47f0ccaed6aaeebfb14435f;p=akkoma diff --git a/test/web/rich_media/parser_test.exs b/test/web/rich_media/parser_test.exs index d65a63121..6d00c2af5 100644 --- a/test/web/rich_media/parser_test.exs +++ b/test/web/rich_media/parser_test.exs @@ -167,7 +167,7 @@ defmodule Pleroma.Web.RichMedia.ParserTest do end test "does a HEAD request to check if the body is too large" do - assert {:error, body_too_large} = Parser.parse("http://example.com/huge-page") + assert {:error, :body_too_large} = Parser.parse("http://example.com/huge-page") end test "does a HEAD request to check if the body is html" do