Skip to content

Commit

Permalink
Fixing string interpolation
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
  • Loading branch information
RyanLettieri committed Jan 30, 2023
1 parent 09e6bbf commit 938e349
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Dapr.E2E.Test/Workflows/WorkflowTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ public async Task TestWorkflows()
// GET INFO TEST
var getResponse = await daprClient.GetWorkflowAsync(instanceId, workflowComponent, workflowName);
getResponse.instanceId.Should().Be("TestWorkflowInstanceID");
getResponse.metadata["dapr.workflow.runtime_status"].Should().Be("RUNNING", $"Instance ID {getResponse.metadata[\"dapr.workflow.runtime_status\"]} was not correct");
getResponse.metadata["dapr.workflow.runtime_status"].Should().Be("RUNNING", $"Instance ID {getResponse.metadata["dapr.workflow.runtime_status"]} was not correct");

// TERMINATE TEST:
await daprClient.TerminateWorkflowAsync(instanceId, workflowComponent);
getResponse = await daprClient.GetWorkflowAsync(instanceId, workflowComponent, workflowName);
getResponse.metadata["dapr.workflow.runtime_status"].Should().Be("TERMINATED", $"Instance ID {getResponse.metadata[\"dapr.workflow.runtime_status\"]} was not correct");
getResponse.metadata["dapr.workflow.runtime_status"].Should().Be("TERMINATED", $"Instance ID {getResponse.metadata["dapr.workflow.runtime_status"]} was not correct");

}

Expand Down

0 comments on commit 938e349

Please sign in to comment.