diff options
author | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2018-05-12 10:17:45 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2018-05-12 10:17:45 +0300 |
commit | b5cac84182000ab4110f142ad55427e5fe97583e (patch) | |
tree | 6e6bb9a577a5d5a96fe69c444478e2bfe8ed765d /test | |
parent | 4abc2334cc8e4f2ae72284fbc5458ce51d2bd60a (diff) |
Fix TableSearchController::_generateWhereClause() test
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/classes/Controllers/Table/TableSearchControllerTest.php | 8 |
1 files 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 ); } |