projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change to delete empty name field
[akkoma]
/
test
/
uploaders
/
s3_test.exs
diff --git
a/test/uploaders/s3_test.exs
b/test/uploaders/s3_test.exs
index a0a1cfdf0a741293ed4b897ef4001142c8ada62f..171316340db8ead0811158546a8be01981447215 100644
(file)
--- a/
test/uploaders/s3_test.exs
+++ b/
test/uploaders/s3_test.exs
@@
-11,19
+11,11
@@
defmodule Pleroma.Uploaders.S3Test do
import Mock
import ExUnit.CaptureLog
import Mock
import ExUnit.CaptureLog
- setup do
- config = Config.get([Pleroma.Uploaders.S3])
-
+ clear_config([Pleroma.Uploaders.S3]) do
Config.put([Pleroma.Uploaders.S3],
bucket: "test_bucket",
public_endpoint: "https://s3.amazonaws.com"
)
Config.put([Pleroma.Uploaders.S3],
bucket: "test_bucket",
public_endpoint: "https://s3.amazonaws.com"
)
-
- on_exit(fn ->
- Config.put([Pleroma.Uploaders.S3], config)
- end)
-
- :ok
end
describe "get_file/1" do
end
describe "get_file/1" do