diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-06-01 01:42:46 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-06-01 01:44:10 +0200 |
commit | 5d3ece2861b619c101d6860fbc1a80bfd8630ba7 (patch) | |
tree | deba6a0fa2fe9ae9884ca5c82c302de8e5a29b7c /test | |
parent | aa9f52edd2ff8fa9dc6008c94717a1399f54dfb8 (diff) | |
download | pleroma-5d3ece2861b619c101d6860fbc1a80bfd8630ba7.tar.gz pleroma-5d3ece2861b619c101d6860fbc1a80bfd8630ba7.zip |
Remove now useless flavours switching
Diffstat (limited to 'test')
-rw-r--r-- | test/web/mastodon_api/mastodon_api_controller_test.exs | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/test/web/mastodon_api/mastodon_api_controller_test.exs b/test/web/mastodon_api/mastodon_api_controller_test.exs index 93ef630f2..f5f87d8af 100644 --- a/test/web/mastodon_api/mastodon_api_controller_test.exs +++ b/test/web/mastodon_api/mastodon_api_controller_test.exs @@ -2852,31 +2852,6 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do end end - test "flavours switching (Pleroma Extension)", %{conn: conn} do - user = insert(:user) - - get_old_flavour = - conn - |> assign(:user, user) - |> get("/api/v1/pleroma/flavour") - - assert "glitch" == json_response(get_old_flavour, 200) - - set_flavour = - conn - |> assign(:user, user) - |> post("/api/v1/pleroma/flavour/vanilla") - - assert "vanilla" == json_response(set_flavour, 200) - - get_new_flavour = - conn - |> assign(:user, user) - |> post("/api/v1/pleroma/flavour/vanilla") - - assert json_response(set_flavour, 200) == json_response(get_new_flavour, 200) - end - describe "reports" do setup do reporter = insert(:user) |