projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'remotes/origin/develop' into tests-clear-config-tweaks
[akkoma]
/
test
/
web
/
admin_api
/
admin_api_controller_test.exs
diff --git
a/test/web/admin_api/admin_api_controller_test.exs
b/test/web/admin_api/admin_api_controller_test.exs
index 60db581445586f908971ee28fcb5e945f6390b43..908ef4d37f129b60b9c75f6217066f3e68ee85e5 100644
(file)
--- a/
test/web/admin_api/admin_api_controller_test.exs
+++ b/
test/web/admin_api/admin_api_controller_test.exs
@@
-1893,9
+1893,7
@@
defmodule Pleroma.Web.AdminAPI.AdminAPIControllerTest do
end
test "when configuration from database is off", %{conn: conn} do
end
test "when configuration from database is off", %{conn: conn} do
- initial = Config.get(:configurable_from_database)
Config.put(:configurable_from_database, false)
Config.put(:configurable_from_database, false)
- on_exit(fn -> Config.put(:configurable_from_database, initial) end)
conn = get(conn, "/api/pleroma/admin/config")
assert json_response(conn, 400) ==
conn = get(conn, "/api/pleroma/admin/config")
assert json_response(conn, 400) ==