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

Make controllers callable

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
Maurício Meneghini Fauth
2021-08-30 13:16:29 -03:00
parent 64d7245f66
commit a2ed4dfe68
100 changed files with 211 additions and 203 deletions

View File

@@ -26,10 +26,8 @@ class JavaScriptMessagesControllerTest extends TestCase
$cfg['GridEditing'] = 'double-click';
$controller = new JavaScriptMessagesController();
ob_start();
$controller->index();
(new JavaScriptMessagesController())();
$actual = ob_get_contents();
ob_end_clean();