diff options
author | Lee Starnes <lee@canned-death.us> | 2018-10-12 00:19:43 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-11-01 09:17:02 +0000 |
commit | 585b29337ce66eb2c574e71588db542044574609 (patch) | |
tree | dcee8b8572d6c6e82d9890b84021fa4a5c816291 /test/web/mastodon_api/mastodon_api_controller_test.exs | |
parent | eba9a62024a6acd4722745850cb7c0ea0502304f (diff) | |
download | pleroma-585b29337ce66eb2c574e71588db542044574609.tar.gz pleroma-585b29337ce66eb2c574e71588db542044574609.zip |
Ensure filters have a filter_id
Diffstat (limited to 'test/web/mastodon_api/mastodon_api_controller_test.exs')
-rw-r--r-- | test/web/mastodon_api/mastodon_api_controller_test.exs | 2 |
1 files changed, 2 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 e9deae64d..42a43f129 100644 --- a/test/web/mastodon_api/mastodon_api_controller_test.exs +++ b/test/web/mastodon_api/mastodon_api_controller_test.exs @@ -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 |