Work on test for workflowOnHold controller

This commit is contained in:
2024-08-29 16:10:23 +02:00
committed by Julien Fastré
parent 9c8a84cdbd
commit 8c5e94e295
2 changed files with 16 additions and 8 deletions

View File

@@ -11,13 +11,14 @@ use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Security\Core\Security;
use Symfony\Component\Workflow\Registry;
class WorkflowOnHoldController extends AbstractController
{
public function __construct(
private readonly EntityManagerInterface $entityManager,
private readonly ChillSecurity $security,
private readonly Security $security,
private readonly Registry $registry,
private readonly EntityWorkflowStepHoldRepository $entityWorkflowStepHoldRepository
) {}