From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E1025138334 for ; Sat, 4 May 2019 05:20:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83147E0857; Sat, 4 May 2019 05:20:23 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2C55DE0857 for ; Sat, 4 May 2019 05:20:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F2D2B343492 for ; Sat, 4 May 2019 05:20:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 150A15E0 for ; Sat, 4 May 2019 05:20:04 +0000 (UTC) From: "Jimi Huotari" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jimi Huotari" Message-ID: <1556314791.2353ad11f2afe213e407842a9a9e1533c0de57b0.chiitoo@gentoo> Subject: [gentoo-commits] proj/forums:origin/3.2.x commit in: tests/search/ X-VCS-Repository: proj/forums X-VCS-Files: tests/search/native_test.php X-VCS-Directories: tests/search/ X-VCS-Committer: chiitoo X-VCS-Committer-Name: Jimi Huotari X-VCS-Revision: 2353ad11f2afe213e407842a9a9e1533c0de57b0 X-VCS-Branch: origin/3.2.x Date: Sat, 4 May 2019 05:20:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b9fa37bb-3af2-4be2-a6c5-225d1e384d50 X-Archives-Hash: ec65d7547b9be99697f55fcc07b955bc commit: 2353ad11f2afe213e407842a9a9e1533c0de57b0 Author: Marc Alexander m-a-styles de> AuthorDate: Fri Apr 26 21:39:51 2019 +0000 Commit: Jimi Huotari gentoo org> CommitDate: Fri Apr 26 21:39:51 2019 +0000 URL: https://gitweb.gentoo.org/proj/forums.git/commit/?id=2353ad11 [ticket/security/235] Update search native tests SECURITY-235 tests/search/native_test.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/search/native_test.php b/tests/search/native_test.php index 29d0d0a8d..0e6f719ce 100644 --- a/tests/search/native_test.php +++ b/tests/search/native_test.php @@ -70,7 +70,7 @@ class phpbb_search_native_test extends phpbb_search_test_case 'ba*az', 'all', true, - array('\'ba%az\''), + array(4), array(), array(), ), @@ -78,7 +78,7 @@ class phpbb_search_native_test extends phpbb_search_test_case 'ba*z', 'all', true, - array('\'ba%z\''), + array(), // <= 3 chars after removing * array(), array(), ), @@ -86,7 +86,7 @@ class phpbb_search_native_test extends phpbb_search_test_case 'baa* baaz*', 'all', true, - array('\'baa%\'', '\'baaz%\''), + array('\'baa%\'', 4), array(), array(), ), @@ -94,7 +94,7 @@ class phpbb_search_native_test extends phpbb_search_test_case 'ba*z baa*', 'all', true, - array('\'ba%z\'', '\'baa%\''), + array('\'baa%\''), // baz is <= 3 chars, only baa* is left array(), array(), ),