From b5cac84182000ab4110f142ad55427e5fe97583e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Sat, 12 May 2018 04:17:45 -0300 Subject: [PATCH] Fix TableSearchController::_generateWhereClause() test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MaurĂ­cio Meneghini Fauth --- .../Controllers/Table/TableSearchControllerTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/classes/Controllers/Table/TableSearchControllerTest.php b/test/classes/Controllers/Table/TableSearchControllerTest.php index dfbf8f15fc..d52c896976 100644 --- a/test/classes/Controllers/Table/TableSearchControllerTest.php +++ b/test/classes/Controllers/Table/TableSearchControllerTest.php @@ -316,20 +316,20 @@ class TableSearchControllerTest extends PmaTestCase ); $_POST['criteriaColumnNames'] = array( - 'b', 'a' + 'b', 'a', 'c', 'd' ); $_POST['criteriaColumnOperators'] = array( '<=', '=', 'IS NULL', 'IS NOT NULL' ); $_POST['criteriaValues'] = array( - '10', '2' + '10', '2', '', '' ); $_POST['criteriaColumnTypes'] = array( - 'int(11)', 'int(11)' + 'int(11)', 'int(11)', 'int(11)', 'int(11)' ); $result = $method->invoke($ctrl); $this->assertEquals( - ' WHERE `b` <= 10 AND `a` = 2', + ' WHERE `b` <= 10 AND `a` = 2 AND `c` IS NULL AND `d` IS NOT NULL', $result ); }