Skip to content

Commit 1bbda3e

Browse files
fix test
Signed-off-by: Jack Schofield <[email protected]>
1 parent c86691c commit 1bbda3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/UnitTests/WorkflowManager.Tests/Controllers/WorkflowsControllerTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public async Task UpdateAsync_WorkflowsDoesNotExist_ReturnsNotFound()
237237

238238
var result = await WorkflowsController.UpdateAsync(newWorkflow, workflowRevision.WorkflowId);
239239

240-
var objectResult = Assert.IsType<NotFoundObjectResult>(result);
240+
var objectResult = Assert.IsType<ObjectResult>(result);
241241

242242
Assert.Equal(404, objectResult.StatusCode);
243243
}

0 commit comments

Comments
 (0)