Make irreversible field default to false in filters

This commit is contained in:
Sachin Joshi 2019-05-13 23:50:33 +05:45
commit 7701a4c841
4 changed files with 12 additions and 1 deletions

View file

@ -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