diff options
author | Sachin Joshi <satchin.joshi@gmail.com> | 2019-05-13 23:50:33 +0545 |
---|---|---|
committer | Sachin Joshi <satchin.joshi@gmail.com> | 2019-05-14 00:13:15 +0545 |
commit | 7701a4c84191a445e0b62e8a241e8af86f86e16a (patch) | |
tree | b17517c7bfe0829f3ab31c52399edad451dedf9d /test | |
parent | 16cb9e5f1cae84322bd7953e58b438f3b4bd8b9c (diff) | |
download | pleroma-7701a4c84191a445e0b62e8a241e8af86f86e16a.tar.gz |
Make irreversible field default to false in filters
Diffstat (limited to 'test')
-rw-r--r-- | test/web/mastodon_api/mastodon_api_controller_test.exs | 1 |
1 files changed, 1 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 505e45010..537cd98d5 100644 --- a/test/web/mastodon_api/mastodon_api_controller_test.exs +++ b/test/web/mastodon_api/mastodon_api_controller_test.exs @@ -572,6 +572,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do assert response = json_response(conn, 200) assert response["phrase"] == filter.phrase assert response["context"] == filter.context + assert response["irreversible"] == false assert response["id"] != nil assert response["id"] != "" end |