X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=test%2Fupload%2Ffilter%2Fdedupe_test.exs;h=75c7198e1bf3e8970f56e5dc929535a1e5971b89;hb=6c2264af24e70e8279508e0166350e8034e139e4;hp=fddd594dc903fdf1cf71a5ef2bbbb615d2c3e26c;hpb=33729bbb2834bfa1f223b11d47dc8e3230d47657;p=akkoma
diff --git a/test/upload/filter/dedupe_test.exs b/test/upload/filter/dedupe_test.exs
index fddd594dc..75c7198e1 100644
--- a/test/upload/filter/dedupe_test.exs
+++ b/test/upload/filter/dedupe_test.exs
@@ -1,5 +1,5 @@
# Pleroma: A lightweight social networking server
-# Copyright © 2017-2019 Pleroma Authors
+# Copyright © 2017-2020 Pleroma Authors
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Upload.Filter.DedupeTest do
@@ -25,7 +25,8 @@ defmodule Pleroma.Upload.Filter.DedupeTest do
assert {
:ok,
- %Pleroma.Upload{id: @shasum, path: "#{@shasum}.jpg"}
+ :filtered,
+ %Pleroma.Upload{id: @shasum, path: @shasum <> ".jpg"}
} = Dedupe.filter(upload)
end
end