fix test
authorMaksim Pechnikov <parallel588@gmail.com>
Mon, 27 Jan 2020 18:20:33 +0000 (21:20 +0300)
committerMaksim Pechnikov <parallel588@gmail.com>
Mon, 27 Jan 2020 18:20:33 +0000 (21:20 +0300)
test/web/feed/tag_controller_test.exs
test/web/mastodon_api/controllers/suggestion_controller_test.exs

index 214698192f6c68d9f75c9555b4d6d47695ad9b29..2aa1b9587ab11e4fb143b9c904e7196d2ef42ddb 100644 (file)
@@ -101,7 +101,7 @@ defmodule Pleroma.Web.Feed.TagControllerTest do
 
     response =
       conn
-      |> put_req_header("content-type", "application/atom+xml")
+      |> put_req_header("content-type", "application/rss+xml")
       |> get(tag_feed_path(conn, :feed, "pleromaart.rss"))
       |> response(200)
 
index c288c2fffb9e6788156d557eba61b11ea19343f3..0319d347507cbacd0010c2c188097647771fcdea 100644 (file)
@@ -7,7 +7,6 @@ defmodule Pleroma.Web.MastodonAPI.SuggestionControllerTest do
 
   alias Pleroma.Config
 
-  import ExUnit.CaptureLog
   import Pleroma.Factory
   import Tesla.Mock