From 010db92c883b0600d5b73777453d015a1e13b566 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Wed, 20 Sep 2017 15:16:16 +0200 Subject: [PATCH] Add # to the filter test refs #2936 --- test/php/library/Icinga/Data/Filter/FilterTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/php/library/Icinga/Data/Filter/FilterTest.php b/test/php/library/Icinga/Data/Filter/FilterTest.php index 2e8a2cff3..97133a216 100644 --- a/test/php/library/Icinga/Data/Filter/FilterTest.php +++ b/test/php/library/Icinga/Data/Filter/FilterTest.php @@ -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)' ); }