diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-02-05 17:06:01 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-02-06 12:50:36 +0300 |
commit | c85aa6e87f8887ad532580ec3f84811abace05f2 (patch) | |
tree | 14e8e884149dc4c00f421722786e25f655c82b91 /test/web/admin_api/admin_api_controller_test.exs | |
parent | 15cb1f6804fde19330a3c1f06eb24802c7503be3 (diff) | |
download | pleroma-c85aa6e87f8887ad532580ec3f84811abace05f2.tar.gz pleroma-c85aa6e87f8887ad532580ec3f84811abace05f2.zip |
removing confusing error
Diffstat (limited to 'test/web/admin_api/admin_api_controller_test.exs')
-rw-r--r-- | test/web/admin_api/admin_api_controller_test.exs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/web/admin_api/admin_api_controller_test.exs b/test/web/admin_api/admin_api_controller_test.exs index 87f1366a4..5fbdf96f6 100644 --- a/test/web/admin_api/admin_api_controller_test.exs +++ b/test/web/admin_api/admin_api_controller_test.exs @@ -1899,13 +1899,6 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIControllerTest do "To use this endpoint you need to enable configuration from database." end - test "without any settings in db", %{conn: conn} do - conn = get(conn, "/api/pleroma/admin/config") - - assert json_response(conn, 400) == - "To use configuration from database migrate your settings to database." - end - test "with settings only in db", %{conn: conn} do config1 = insert(:config) config2 = insert(:config) |