Browse Source

Removed case for update action in unit test

pull/92/head
malik masis 5 years ago
parent
commit
029be2c840
  1. 9
      services/ordering/test/EShopOnAbp.OrderingService.Application.Tests/Orders/OrderApplication_Tests.cs

9
services/ordering/test/EShopOnAbp.OrderingService.Application.Tests/Orders/OrderApplication_Tests.cs

@ -66,15 +66,6 @@ public class OrderApplication_Tests : OrderingServiceApplicationTestBase
var myOrder = await _orderAppService.GetByOrderNoAsync(placedOrder.OrderNo);
myOrder.ShouldNotBeNull();
var cancelledMyOrder = await _orderAppService.SetAsCancelledAsync(placedOrder.Id, new SetAsCancelledDto()
{
OrderStatusId = OrderStatus.Shipped.Id,
});
//TODO - temp value - it should be Shipped
cancelledMyOrder.OrderStatus.ShouldBe(OrderStatus.Placed.ToString());
// Get all orders
var orders = await _orderAppService.GetOrdersAsync(new GetOrdersInput()
{

Loading…
Cancel
Save