diff options
author | Lain Iwakura <lain@soykaf.club> | 2017-12-19 16:15:07 +0100 |
---|---|---|
committer | Lain Iwakura <lain@soykaf.club> | 2017-12-19 16:15:07 +0100 |
commit | f1f79c0dca9198e2a427f988b60e4222f8afda57 (patch) | |
tree | 1eb2ca65735da1d2f307ad72941609a9f383b5ae /test | |
parent | 47887ac8489d929f6c948814a8bacd14fc579ab9 (diff) | |
download | pleroma-f1f79c0dca9198e2a427f988b60e4222f8afda57.tar.gz pleroma-f1f79c0dca9198e2a427f988b60e4222f8afda57.zip |
Fix timelines in subway tooter.
Diffstat (limited to 'test')
-rw-r--r-- | test/web/mastodon_api/mastodon_api_controller_test.exs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/web/mastodon_api/mastodon_api_controller_test.exs b/test/web/mastodon_api/mastodon_api_controller_test.exs index 80e15f35e..79ad671d9 100644 --- a/test/web/mastodon_api/mastodon_api_controller_test.exs +++ b/test/web/mastodon_api/mastodon_api_controller_test.exs @@ -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 |