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.
This commit is contained in:
Sipke Schoorstra 2025-03-13 21:34:18 +01:00
parent ef71a3e731
commit 88744c720d
No known key found for this signature in database
GPG key ID: 5C10502B28A4268F

View file

@ -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)
{