test: twitterapi: fix another possible test failure case
authorWilliam Pitcock <nenolod@dereferenced.org>
Tue, 5 Feb 2019 20:04:39 +0000 (20:04 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Tue, 5 Feb 2019 20:08:16 +0000 (20:08 +0000)
test/web/twitter_api/util_controller_test.exs

index 8e152ecd4a3ca69e78816f2425b3cfa3f828e4f5..007d7d8e68e5e2206a3f49cd5c5957d185307a7b 100644 (file)
@@ -36,7 +36,7 @@ defmodule Pleroma.Web.TwitterAPI.UtilControllerTest do
   describe "GET /api/statusnet/config.json" do
     test "it returns the managed config", %{conn: conn} do
       Pleroma.Config.put([:instance, :managed_config], false)
-      Pleroma.Config.put([:fe, :theme], "rei-ayanami-towel")
+      Pleroma.Config.put([:fe], theme: "rei-ayanami-towel")
 
       response =
         conn