diff options
Diffstat (limited to 'test/classes/Controllers/Table/DeleteRowsControllerTest.php')
-rw-r--r-- | test/classes/Controllers/Table/DeleteRowsControllerTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/classes/Controllers/Table/DeleteRowsControllerTest.php b/test/classes/Controllers/Table/DeleteRowsControllerTest.php index 73e0865967..e55650b6c8 100644 --- a/test/classes/Controllers/Table/DeleteRowsControllerTest.php +++ b/test/classes/Controllers/Table/DeleteRowsControllerTest.php @@ -5,6 +5,7 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Controllers\Table; use PhpMyAdmin\Controllers\Table\DeleteRowsController; +use PhpMyAdmin\Http\ServerRequest; use PhpMyAdmin\Template; use PhpMyAdmin\Tests\AbstractTestCase; use PhpMyAdmin\Tests\Stubs\ResponseRenderer; @@ -52,7 +53,7 @@ class DeleteRowsControllerTest extends AbstractTestCase $GLOBALS['dbi'] = $dbi; $response = new ResponseRenderer(); - (new DeleteRowsController($response, new Template(), $dbi))(); + (new DeleteRowsController($response, new Template(), $dbi))($this->createStub(ServerRequest::class)); $actual = $response->getHTMLResult(); $this->assertStringContainsString( '<div class="alert alert-success" role="alert">Your SQL query has been executed successfully.</div>', |