mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-10 18:37:00 +01:00
chore(tests): UT for PluginCompatility service
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -34,7 +34,7 @@ use SP\Domain\Core\Acl\AclActionsInterface;
|
||||
use SP\Domain\Core\Exceptions\ConstraintException;
|
||||
use SP\Domain\Core\Exceptions\QueryException;
|
||||
use SP\Domain\Plugin\Models\Plugin;
|
||||
use SP\Domain\Plugin\Ports\PluginManagerInterface;
|
||||
use SP\Domain\Plugin\Ports\PluginManagerService;
|
||||
use SP\Http\JsonMessage;
|
||||
use SP\Infrastructure\Common\Repositories\NoSuchItemException;
|
||||
use SP\Modules\Web\Controllers\ControllerBase;
|
||||
@@ -49,14 +49,14 @@ final class ViewController extends ControllerBase
|
||||
{
|
||||
use JsonTrait;
|
||||
|
||||
private PluginManagerInterface $pluginService;
|
||||
private PluginManager $pluginManager;
|
||||
private PluginManagerService $pluginService;
|
||||
private PluginManager $pluginManager;
|
||||
|
||||
public function __construct(
|
||||
Application $application,
|
||||
WebControllerHelper $webControllerHelper,
|
||||
PluginManagerInterface $pluginService,
|
||||
PluginManager $pluginManager
|
||||
Application $application,
|
||||
WebControllerHelper $webControllerHelper,
|
||||
PluginManagerService $pluginService,
|
||||
PluginManager $pluginManager
|
||||
) {
|
||||
parent::__construct($application, $webControllerHelper);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user