Skip to content

Commit

Permalink
Remove unnecessary IsOk assert
Browse files Browse the repository at this point in the history
  • Loading branch information
tschumpr committed Jan 8, 2024
1 parent 6d25913 commit d7024c4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/Controllers/LayerControllerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ public async Task EditLayerCodelists()

// Update Layer
var response = await controller.EditAsync(layerWithChanges);
ActionResultAssert.IsOk(response.Result);

// Assert Updates and unchanged values
var updatedLayer = ActionResultAssert.IsOkObjectResult<Layer>(response.Result);
Expand All @@ -160,7 +159,6 @@ public async Task EditLayerCodelists()

// Update Layer
response = await controller.EditAsync(layerWithChanges);
ActionResultAssert.IsOk(response.Result);

// Assert Updates and unchanged values
updatedLayer = ActionResultAssert.IsOkObjectResult<Layer>(response.Result);
Expand All @@ -170,7 +168,6 @@ public async Task EditLayerCodelists()

// Update Layer
response = await controller.EditAsync(layerWithChanges);
ActionResultAssert.IsOk(response.Result);

// Assert Updates and unchanged values
updatedLayer = ActionResultAssert.IsOkObjectResult<Layer>(response.Result);
Expand Down

0 comments on commit d7024c4

Please sign in to comment.