Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Schofield <jack.schofield@answerdigital.com>
  • Loading branch information
jackschofield23 committed Sep 21, 2022
1 parent c86691c commit 1bbda3e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public async Task UpdateAsync_WorkflowsDoesNotExist_ReturnsNotFound()

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

var objectResult = Assert.IsType<NotFoundObjectResult>(result);
var objectResult = Assert.IsType<ObjectResult>(result);

Assert.Equal(404, objectResult.StatusCode);
}
Expand Down

0 comments on commit 1bbda3e

Please sign in to comment.