Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMaurĂ­cio Meneghini Fauth <mauriciofauth@gmail.com>2018-05-12 10:20:28 +0300
committerMaurĂ­cio Meneghini Fauth <mauriciofauth@gmail.com>2018-05-12 10:20:28 +0300
commit1c2b458a013d2bf3385389623b09cc8a783d10e5 (patch)
tree6c8304e7f1b37414015286a43d0c6390a6cb537b /test
parent287383f3bd50d51fd61e3d16d58d39b53854ec84 (diff)
parentb5cac84182000ab4110f142ad55427e5fe97583e (diff)
Merge branch 'QA_4_8'
Diffstat (limited to 'test')
-rw-r--r--test/classes/Controllers/Table/TableSearchControllerTest.php8
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
);
}