Filters: Make behavior of "whole word" filters consistent with the web UI when filters are non-alphanumeric (#1623)
* Fix tests build * Make behavior of non-alphanumeric whole-word filters consistent with the web UI. Fixes #1543 * Fix typo in filter tests
This commit is contained in:
parent
352ff3a2d1
commit
9d65b2ace1
3 changed files with 24 additions and 3 deletions
|
@ -208,6 +208,7 @@ class TimelineDAOTest {
|
|||
favouritesCount = 2 * statusId.toInt(),
|
||||
reblogged = even,
|
||||
favourited = !even,
|
||||
bookmarked = false,
|
||||
sensitive = even,
|
||||
spoilerText = "spoier$statusId",
|
||||
visibility = Status.Visibility.PRIVATE,
|
||||
|
@ -236,6 +237,7 @@ class TimelineDAOTest {
|
|||
favouritesCount = 0,
|
||||
reblogged = false,
|
||||
favourited = false,
|
||||
bookmarked = false,
|
||||
sensitive = false,
|
||||
spoilerText = null,
|
||||
visibility = null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue