projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'remotes/origin/develop' into ostatus-controller-no...
[akkoma]
/
test
/
upload
/
filter
/
exiftool_test.exs
diff --git
a/test/upload/filter/exiftool_test.exs
b/test/upload/filter/exiftool_test.exs
index 84a3f8b300f0054ed8d5437c4a389fddf1f8eb3e..d4cd4ba1145eb2e50f996bb41d60196972522159 100644
(file)
--- a/
test/upload/filter/exiftool_test.exs
+++ b/
test/upload/filter/exiftool_test.exs
@@
-37,12
+37,6
@@
defmodule Pleroma.Upload.Filter.ExiftoolTest do
content_type: "image/webp"
}
content_type: "image/webp"
}
- bad_type = %Pleroma.Upload{
- name: "sample.webp",
- content_type: "image/jpeg"
- }
-
assert Filter.Exiftool.filter(upload) == {:ok, :noop}
assert Filter.Exiftool.filter(upload) == {:ok, :noop}
- assert Filter.Exiftool.filter(bad_type) == {:ok, :noop}
end
end
end
end