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:
authorWilliam Desportes <williamdes@wdes.fr>2019-10-20 13:06:18 +0300
committerWilliam Desportes <williamdes@wdes.fr>2019-10-20 13:06:43 +0300
commit252ce457582a6f9b06d9ed2597d0af29898f4402 (patch)
tree2e1f37900bee80ea749e57bfa6c935cf23f159db /test
parent2d558e45bf3bebb36dab7de29a50559c678ad997 (diff)
Fix Unit test testGetHtmlForReferentialIntegrityCheck after #14598
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'test')
-rw-r--r--test/classes/OperationsTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/classes/OperationsTest.php b/test/classes/OperationsTest.php
index 8704b97764..ca9893e0ea 100644
--- a/test/classes/OperationsTest.php
+++ b/test/classes/OperationsTest.php
@@ -243,6 +243,8 @@ class OperationsTest extends TestCase
*/
public function testGetHtmlForReferentialIntegrityCheck()
{
+ $GLOBALS['cfg']['blowfish_secret'] = '';
+ $_SESSION[' HMAC_secret '] = hash('sha1', 'test');
$this->assertRegExp(
'/.*Check referential integrity.*href="sql.php(.|[\n])*/m',