Allow for varying erlang versions
ci/woodpecker/push/woodpecker Pipeline is pending Details
ci/woodpecker/pr/woodpecker Pipeline failed Details

This commit is contained in:
FloatingGhost 2022-11-26 19:49:37 +00:00
parent d4e256dcdc
commit ac439ab80d
1 changed files with 2 additions and 2 deletions

View File

@ -10,10 +10,10 @@ defmodule Pleroma.Web.MediaProxy.Invalidation.ScriptTest do
test "it logs error when script is not found" do
assert capture_log(fn ->
assert Invalidation.Script.purge(
assert {:error, _} = Invalidation.Script.purge(
["http://example.com/media/example.jpg"],
script_path: "./example"
) == {:error, "%ErlangError{original: :enoent, reason: nil}"}
)
end) =~ "Error while cache purge: %ErlangError{original: :enoent"
capture_log(fn ->