mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
fix hashtag and mentions count after fixing encoding and add tests
This commit is contained in:
@@ -117,6 +117,16 @@ class MessageFilterTest extends UnitTestCase {
|
||||
'#*',
|
||||
false
|
||||
],
|
||||
'max 1 hashtags (we got 3) in excl' => [
|
||||
'',
|
||||
'#>1',
|
||||
false
|
||||
],
|
||||
'max 4 hashtags (we got 3) in excl' => [
|
||||
'',
|
||||
'#>4',
|
||||
true
|
||||
],
|
||||
'item.body contains substring hopper in excl' => [
|
||||
'',
|
||||
'?body ~= hopper',
|
||||
|
||||
Reference in New Issue
Block a user