Skip to content

Commit

Permalink
GUARD-784: changed test methods parameters;
Browse files Browse the repository at this point in the history
  • Loading branch information
fabulaspb committed Sep 1, 2020
1 parent c67fc94 commit a9b45bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ShipStationAccessTests/Orders/OrderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ [ Test ]
public async Task GetOrdersAsync()
{
var service = this.ShipStationFactory.CreateServiceV2( this._credentials );
var orders = await service.GetOrdersAsync( DateTime.UtcNow.AddDays( -30 ), DateTime.UtcNow, getShipmentsAndFulfillments: true );
var orders = await service.GetOrdersAsync( DateTime.UtcNow.AddDays( -1 ), DateTime.UtcNow, getShipmentsAndFulfillments: true );

orders.Count().Should().BeGreaterThan( 0 );
}
Expand All @@ -62,7 +62,7 @@ [ Test ]
public async Task GetOrdersWithoutShipmentsAndFulfillmentsAsync()
{
var service = this.ShipStationFactory.CreateServiceV2( this._credentials );
var orders = await service.GetOrdersAsync( DateTime.UtcNow.AddDays( -30 ), DateTime.UtcNow, false );
var orders = await service.GetOrdersAsync( DateTime.UtcNow.AddDays( -3 ), DateTime.UtcNow, getShipmentsAndFulfillments: false );

orders.Count().Should().BeGreaterThan( 0 );
orders.Any( o => o.Shipments != null ).Should().Be( false );
Expand Down

0 comments on commit a9b45bf

Please sign in to comment.