Remove the feature "send a workflow to an email address"

This commit is contained in:
2024-10-01 16:28:32 +02:00
parent 479651b31e
commit 803332ba5f
10 changed files with 9 additions and 137 deletions

View File

@@ -44,7 +44,6 @@ class EntityWorkflowMarkingStoreTest extends TestCase
$dto = new WorkflowTransitionContextDTO($workflow);
$dto->futureCcUsers[] = $user1 = new User();
$dto->futureDestUsers[] = $user2 = new User();
$dto->futureDestEmails[] = $email = 'test@example.com';
$markingStore->setMarking($workflow, new Marking(['foo' => 1]), [
'context' => $dto,
@@ -55,7 +54,6 @@ class EntityWorkflowMarkingStoreTest extends TestCase
$currentStep = $workflow->getCurrentStep();
self::assertEquals('foo', $currentStep->getCurrentStep());
self::assertContains($email, $currentStep->getDestEmail());
self::assertContains($user1, $currentStep->getCcUser());
self::assertContains($user2, $currentStep->getDestUser());