fix for content-type header for tag feed

This commit is contained in:
Alexander Strizhakov 2020-03-13 17:58:14 +03:00
commit 89e4b3ebbd
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
3 changed files with 15 additions and 13 deletions

View file

@ -19,7 +19,7 @@ defmodule Pleroma.Web.Feed.UserControllerTest do
describe "feed" do
clear_config([:feed])
test "gets an atom feed", %{conn: conn} do
test "gets a feed", %{conn: conn} do
Config.put(
[:feed, :post_title],
%{max_length: 10, omission: "..."}
@ -139,7 +139,7 @@ defmodule Pleroma.Web.Feed.UserControllerTest do
resp =
conn
|> put_req_header("accept", "application/atom+xml")
|> put_req_header("accept", "application/rss+xml")
|> get("/users/#{user.nickname}/feed.rss", %{"max_id" => note_activity2.id})
|> response(200)