diff options
author | Alexander <alex.strizhakov@gmail.com> | 2019-12-06 17:50:53 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-01-10 15:52:00 +0300 |
commit | fea734ca703b686701b87c8c4c4969deb05d1f92 (patch) | |
tree | 6e3446752d36a2732e792d534c10708d3df8dbac /test/tasks | |
parent | 5cacb988b99347b228a30743fbcf310c9479b3f9 (diff) | |
download | pleroma-fea734ca703b686701b87c8c4c4969deb05d1f92.tar.gz |
errors on endpoints
Diffstat (limited to 'test/tasks')
-rw-r--r-- | test/tasks/config_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tasks/config_test.exs b/test/tasks/config_test.exs index dfe3904ca..74451a9e8 100644 --- a/test/tasks/config_test.exs +++ b/test/tasks/config_test.exs @@ -24,8 +24,8 @@ defmodule Mix.Tasks.Pleroma.ConfigTest do end test "settings are migrated to db" do - initial = Application.get_all_env(:quack) - on_exit(fn -> Application.put_all_env([{:quack, initial}]) end) + initial = Application.get_env(:quack, :level) + on_exit(fn -> Application.put_env(:quack, :level, initial) end) assert Repo.all(Config) == [] Application.put_env(:pleroma, :first_setting, key: "value", key2: [Repo]) |