1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-25 06:39:48 +03:00

Create Twig\AssetExtension and image Twig function

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
Maurício Meneghini Fauth
2021-01-27 22:33:26 -03:00
parent 82ae440d0d
commit 1e5fbd57fc
65 changed files with 169 additions and 230 deletions

View File

@@ -17,15 +17,9 @@ class JavaScriptMessagesControllerTest extends TestCase
{
public function testIndex(): void
{
global $cfg, $PMA_Theme;
global $cfg;
$cfg['GridEditing'] = 'double-click';
$PMA_Theme = new class {
public function getImgPath(string $img): string
{
return $img;
}
};
$controller = new JavaScriptMessagesController();