Browse Source

changelog for filter whole_word fix

note-update
Mary Kate 3 years ago
parent
commit
f785dba09b
2 changed files with 3 additions and 2 deletions
  1. +1
    -0
      CHANGELOG.md
  2. +2
    -2
      test/web/mastodon_api/controllers/filter_controller_test.exs

+ 1
- 0
CHANGELOG.md View File

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



+ 2
- 2
test/web/mastodon_api/controllers/filter_controller_test.exs View File

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


Loading…
Cancel
Save