From d7629d4827da15f83d93c6050e8a859c0787e6fc Mon Sep 17 00:00:00 2001 From: mdouchin Date: Wed, 21 Aug 2024 16:08:56 +0000 Subject: [PATCH] Fix PHP unit tests :) --- tests/units/classes/Request/WFSRequestTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/units/classes/Request/WFSRequestTest.php b/tests/units/classes/Request/WFSRequestTest.php index 5d993f91d2..68c7b1e516 100644 --- a/tests/units/classes/Request/WFSRequestTest.php +++ b/tests/units/classes/Request/WFSRequestTest.php @@ -213,9 +213,9 @@ public static function getParseFeatureData() { return array( array('', '', '', ''), - array('type', 'type.test@@55', 'key,otherKey', ' AND ("key" = 'test' AND "otherKey" = 55)'), - array('type', 'type.test@@55,you shall not pass,type.name@@42', 'key,otherKey', ' AND ("key" = 'test' AND "otherKey" = 55) OR ("key" = 'name' AND "otherKey" = 42)'), - array('', 'type.test@@55', 'key,otherKey', ' AND ("key" = 'test' AND "otherKey" = 55)'), + array('type', 'type.test@@55', 'key,otherKey', ' AND ("key" = \'test\' AND "otherKey" = 55)'), + array('type', 'type.test@@55,you shall not pass,type.name@@42', 'key,otherKey', ' AND ("key" = \'test\' AND "otherKey" = 55) OR ("key" = \'name\' AND "otherKey" = 42)'), + array('', 'type.test@@55', 'key,otherKey', ' AND ("key" = \'test\' AND "otherKey" = 55)'), ); }