refactor: inject the action params via its execute method (#2907)

This commit is contained in:
Dag 2022-07-08 21:06:14 +02:00 committed by GitHub
parent 22c10941dc
commit a966213cd7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 32 additions and 35 deletions

View file

@ -85,7 +85,7 @@ class ListActionTest extends TestCase
$action = $actionFactory->create('list');
ob_start();
$action->execute();
$action->execute([]);
$this->data = ob_get_contents();
ob_clean();
ob_end_flush();