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 <mauricio@fauth.dev>2022-06-16 02:09:13 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2022-06-16 02:09:13 +0300
commitbf2add8312324bda0af07d4256319752e2d37036 (patch)
treef092791257e6ff959f1abf9d8f5e0325e90da647 /test
parentdbf52a93f7b1e596c8b7717fa3ea0a4bd59ab91e (diff)
Fix preview SQL modal not working inside Index modal
- Fixes #17606 Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'test')
-rw-r--r--test/classes/FooterTest.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/classes/FooterTest.php b/test/classes/FooterTest.php
index 9e66a65955..679734704f 100644
--- a/test/classes/FooterTest.php
+++ b/test/classes/FooterTest.php
@@ -7,7 +7,6 @@ namespace PhpMyAdmin\Tests;
use ArrayIterator;
use PhpMyAdmin\ErrorHandler;
use PhpMyAdmin\Footer;
-use PhpMyAdmin\Template;
use function json_encode;
@@ -125,7 +124,7 @@ class FooterTest extends AbstractTestCase
$footer = new Footer();
$footer->setAjax(true);
$this->assertEquals(
- (new Template())->render('modals/index_dialog_modal'),
+ '',
$footer->getDisplay()
);
}
@@ -164,7 +163,7 @@ class FooterTest extends AbstractTestCase
$footer = new Footer();
$footer->setMinimal();
$this->assertEquals(
- (new Template())->render('modals/index_dialog_modal') . " </div>\n </body>\n</html>\n",
+ " </div>\n </body>\n</html>\n",
$footer->getDisplay()
);
}