Apply 1 suggestion(s) to 1 file(s)
authorrinpatch <rinpatch@sdf.org>
Mon, 14 Sep 2020 11:56:00 +0000 (11:56 +0000)
committerrinpatch <rinpatch@sdf.org>
Mon, 14 Sep 2020 11:56:00 +0000 (11:56 +0000)
test/web/rich_media/parser_test.exs

index d65a631211ccce27a62b15f328684f4f513b6a4d..6d00c2af56ebf181aeb0c8f4ff13e980033babe5 100644 (file)
@@ -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