Ensure filters have a filter_id

This commit is contained in:
Lee Starnes 2018-10-12 00:19:43 -05:00 committed by William Pitcock
commit 585b29337c
3 changed files with 110 additions and 11 deletions

View file

@ -280,6 +280,8 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do
assert response = json_response(conn, 200)
assert response["phrase"] == filter.phrase
assert response["context"] == filter.context
assert response["id"] != nil
assert response["id"] != ""
end
test "fetching a list of filters", %{conn: conn} do