diff options
author | Mary Kate <mk@marykatefain.com> | 2020-08-05 15:39:11 -0500 |
---|---|---|
committer | Mary Kate <mk@marykatefain.com> | 2020-08-05 15:41:35 -0500 |
commit | f785dba09bc6c6624c17350356632d008f701183 (patch) | |
tree | d28198fb30335dd3228cae080127f485034d094a | |
parent | d6ab9f2132cdcbed303c9ef0941bf7210e49c5d6 (diff) | |
download | pleroma-f785dba09bc6c6624c17350356632d008f701183.tar.gz |
changelog for filter whole_word fix
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | test/web/mastodon_api/controllers/filter_controller_test.exs | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index de017e30a..572f9e84b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -102,6 +102,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Fix CSP policy generation to include remote Captcha services - Fix edge case where MediaProxy truncates media, usually caused when Caddy is serving content for the other Federated instance. - Emoji Packs could not be listed when instance was set to `public: false` +- Fix whole_word always returning false on filter get requests ## [Unreleased (patch)] diff --git a/test/web/mastodon_api/controllers/filter_controller_test.exs b/test/web/mastodon_api/controllers/filter_controller_test.exs index 6e94150b4..0d426ec34 100644 --- a/test/web/mastodon_api/controllers/filter_controller_test.exs +++ b/test/web/mastodon_api/controllers/filter_controller_test.exs @@ -64,7 +64,7 @@ defmodule Pleroma.Web.MastodonAPI.FilterControllerTest do test "get a filter" do %{user: user, conn: conn} = oauth_access(["read:filters"]) - # check whole_word true + # check whole_word false query = %Pleroma.Filter{ user_id: user.id, filter_id: 2, @@ -80,7 +80,7 @@ defmodule Pleroma.Web.MastodonAPI.FilterControllerTest do assert response = json_response_and_validate_schema(conn, 200) assert response["whole_word"] == false - # check whole_word false + # check whole_word true %{user: user, conn: conn} = oauth_access(["read:filters"]) query = %Pleroma.Filter{ |