projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'finch' into 'develop'
[akkoma]
/
test
/
pleroma
/
uploaders
/
local_test.exs
diff --git
a/test/pleroma/uploaders/local_test.exs
b/test/pleroma/uploaders/local_test.exs
index 18122ff6c372c98c74230dcfb9790d0178bfd92e..0a5952f50c71cb5d2b0a61367963a238e8840327 100644
(file)
--- a/
test/pleroma/uploaders/local_test.exs
+++ b/
test/pleroma/uploaders/local_test.exs
@@
-1,9
+1,9
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Uploaders.LocalTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Uploaders.LocalTest do
- use Pleroma.DataCase
+ use Pleroma.DataCase
, async: true
alias Pleroma.Uploaders.Local
describe "get_file/1" do
alias Pleroma.Uploaders.Local
describe "get_file/1" do
@@
-19,7
+19,7
@@
defmodule Pleroma.Uploaders.LocalTest do
file = %Pleroma.Upload{
name: "image.jpg",
file = %Pleroma.Upload{
name: "image.jpg",
- content_type: "image/jpg",
+ content_type: "image/jp
e
g",
path: file_path,
tempfile: Path.absname("test/fixtures/image_tmp.jpg")
}
path: file_path,
tempfile: Path.absname("test/fixtures/image_tmp.jpg")
}
@@
-38,7
+38,7
@@
defmodule Pleroma.Uploaders.LocalTest do
file = %Pleroma.Upload{
name: "image.jpg",
file = %Pleroma.Upload{
name: "image.jpg",
- content_type: "image/jpg",
+ content_type: "image/jp
e
g",
path: file_path,
tempfile: Path.absname("test/fixtures/image_tmp.jpg")
}
path: file_path,
tempfile: Path.absname("test/fixtures/image_tmp.jpg")
}