diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2021-02-01 19:33:40 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2021-02-01 19:33:40 +0300 |
commit | aacd1c90b7422780ae1eb9030f9fd26d541d4a9c (patch) | |
tree | 9640188c2a670401437e1e511f39c210efa20fb7 | |
parent | 0dc68c157f9e1cb1ef53223faeb9aa8d924e3094 (diff) | |
download | pleroma-aacd1c90b7422780ae1eb9030f9fd26d541d4a9c.tar.gz |
fix for test warnings
-rw-r--r-- | test/pleroma/config/deprecation_warnings_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pleroma/config/deprecation_warnings_test.exs b/test/pleroma/config/deprecation_warnings_test.exs index 37e02fae2..15f4982ea 100644 --- a/test/pleroma/config/deprecation_warnings_test.exs +++ b/test/pleroma/config/deprecation_warnings_test.exs @@ -87,7 +87,7 @@ defmodule Pleroma.Config.DeprecationWarningsTest do end test "check_activity_expiration_config/0" do - clear_config(Pleroma.ActivityExpiration, enabled: true) + clear_config([Pleroma.ActivityExpiration], enabled: true) assert capture_log(fn -> DeprecationWarnings.check_activity_expiration_config() @@ -95,7 +95,7 @@ defmodule Pleroma.Config.DeprecationWarningsTest do end test "check_uploders_s3_public_endpoint/0" do - clear_config(Pleroma.Uploaders.S3, public_endpoint: "https://fake.amazonaws.com/bucket/") + clear_config([Pleroma.Uploaders.S3], public_endpoint: "https://fake.amazonaws.com/bucket/") assert capture_log(fn -> DeprecationWarnings.check_uploders_s3_public_endpoint() |