Skip to content

Commit

Permalink
changed order of assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
acn-sbuad committed Sep 22, 2023
1 parent 4866cab commit d4dd6d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ public async Task Post_ServiceReturnsOrder_Accepted()
// Assert
Assert.Equal(HttpStatusCode.Accepted, response.StatusCode);
Assert.NotNull(orderIdObjectExt);
Assert.Equal("http://localhost:5090/notifications/api/v1/orders/" + _order.Id, response.Headers?.Location?.ToString());
Assert.Equal(_order.Id, orderIdObjectExt.OrderId);
Assert.Equal("http://localhost:5090/notifications/api/v1/orders/" + _order.Id, response.Headers?.Location?.ToString());

serviceMock.VerifyAll();
}
Expand Down

0 comments on commit d4dd6d1

Please sign in to comment.