Apply 1 suggestion(s) to 1 file(s)
This commit is contained in:
parent
f70335002d
commit
738685a629
@ -167,7 +167,7 @@ defmodule Pleroma.Web.RichMedia.ParserTest do
|
|||||||
end
|
end
|
||||||
|
|
||||||
test "does a HEAD request to check if the body is too large" do
|
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
|
end
|
||||||
|
|
||||||
test "does a HEAD request to check if the body is html" do
|
test "does a HEAD request to check if the body is html" do
|
||||||
|
Loading…
Reference in New Issue
Block a user