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
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2020-10-10 20:16:25 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2020-10-10 20:16:25 +0300
commit405b6277e7ca1ba81e30d52f47e90446b0363be5 (patch)
treebd10431eec4c4e6aa695b3cec3a9c03a142a9fc5 /test/classes/Controllers/Table
parentc776fdee178e8d3ca2ad33b976c9d74711a4af78 (diff)
parent62a40f93632b2c1c3a7b94329d6988f8cf48b795 (diff)
Merge branch 'QA_5_0'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'test/classes/Controllers/Table')
-rw-r--r--test/classes/Controllers/Table/SearchControllerTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/classes/Controllers/Table/SearchControllerTest.php b/test/classes/Controllers/Table/SearchControllerTest.php
index be65bdea79..b4a40b5dc8 100644
--- a/test/classes/Controllers/Table/SearchControllerTest.php
+++ b/test/classes/Controllers/Table/SearchControllerTest.php
@@ -8,6 +8,7 @@ declare(strict_types=1);
namespace PhpMyAdmin\Tests\Controllers\Table;
use PhpMyAdmin\Controllers\Table\SearchController;
+use PhpMyAdmin\Core;
use PhpMyAdmin\DatabaseInterface;
use PhpMyAdmin\Relation;
use PhpMyAdmin\Table\Search;
@@ -181,6 +182,7 @@ class SearchControllerTest extends AbstractTestCase
$_POST['db'] = 'PMA';
$_POST['table'] = 'PMA_BookMark';
$_POST['where_clause'] = '`col1` = 1';
+ $_POST['where_clause_sign'] = Core::signSqlQuery('`col1` = 1');
$expected = [
'col1' => 1,
'col2' => 2,