diff --git a/test/Elsa.IntegrationTests/Workflows/ForEachWorkflowTests.cs b/test/Elsa.IntegrationTests/Workflows/ForEachWorkflowTests.cs index d924a4794..0c9e691bd 100644 --- a/test/Elsa.IntegrationTests/Workflows/ForEachWorkflowTests.cs +++ b/test/Elsa.IntegrationTests/Workflows/ForEachWorkflowTests.cs @@ -55,11 +55,7 @@ public class ForEachWorkflowTests { Items = new Input>(_items), CurrentValue = currentItem, - Body = new If(() => true) - { - Then = new Break(), - Else = new WriteLine() - } + Body = new WriteLine(currentItem) }, } });