From 88744c720dd3c62ad8a3200aaa82da31d0e7e180 Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Thu, 13 Mar 2025 21:34:18 +0100 Subject: [PATCH] Fix incorrect syntax for generating GUID in CountdownWorkflow Corrected the syntax for defining the static `DefinitionId` property. This ensures the GUID is generated properly without causing runtime issues. --- .../Scenarios/Variables/Workflows/CountdownWorkflow.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/component/Elsa.Workflows.ComponentTests/Scenarios/Variables/Workflows/CountdownWorkflow.cs b/test/component/Elsa.Workflows.ComponentTests/Scenarios/Variables/Workflows/CountdownWorkflow.cs index 6c4d96fe2..696ccd5f0 100644 --- a/test/component/Elsa.Workflows.ComponentTests/Scenarios/Variables/Workflows/CountdownWorkflow.cs +++ b/test/component/Elsa.Workflows.ComponentTests/Scenarios/Variables/Workflows/CountdownWorkflow.cs @@ -6,7 +6,7 @@ namespace Elsa.Workflows.ComponentTests.Scenarios.Variables.Workflows; public class CountdownWorkflow : WorkflowBase { - public static readonly string DefinitionId = "Guid.NewGuid().ToString()"; + public static readonly string DefinitionId = Guid.NewGuid().ToString(); protected override void Build(IWorkflowBuilder builder) {