Add # to the filter test

refs #2936
This commit is contained in:
Eric Lippmann 2017-09-20 15:16:16 +02:00
parent 354658eee2
commit 010db92c88
1 changed files with 2 additions and 2 deletions

View File

@ -277,9 +277,9 @@ class FilterTest extends BaseTestCase
$this->assertSame(
Filter::matchAll(
Filter::expression('host', '!=', 'localhost'),
Filter::matchAny(Filter::where('service', 'ping4'), Filter::where('specialchars', '(|&!=)'))
Filter::matchAny(Filter::where('service', 'ping4'), Filter::where('specialchars', '(|&!=)#'))
)->toQueryString(),
'host!=localhost&(service=ping4|specialchars=%28%7C%26%21%3D%29)'
'host!=localhost&(service=ping4|specialchars=%28%7C%26%21%3D%29%23)'
);
}