Fix timelines in subway tooter.

This commit is contained in:
Lain Iwakura 2017-12-19 16:15:07 +01:00
commit f1f79c0dca
3 changed files with 7 additions and 2 deletions

View file

@ -43,6 +43,11 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do
|> get("/api/v1/timelines/public", %{"local" => "True"})
assert [%{"content" => "test"}] = json_response(conn, 200)
conn = build_conn()
|> get("/api/v1/timelines/public", %{"local" => "1"})
assert [%{"content" => "test"}] = json_response(conn, 200)
end
test "posting a status", %{conn: conn} do