-
-
Save dcomartin/b0653b94fc6bf58ffb09aeb19794c074 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Fact] | |
public async Task TestIsFlaky() | |
{ | |
var obj = new OrderService(_mockBasketRepo.Object, _mockCatalogRepo.Object, _mockOrderRepo.Object, _uriComposer.Object); | |
var address = new Address("120 Freidrich Lane", "Austin", "TX", "US", "78744"); | |
var order = await obj.CreateOrderAsync(_basketId, address); | |
Assert.Equal(address, order.ShipToAddress); | |
// This is Flaky | |
Assert.Equal(DateTime.UtcNow, order.OrderDate); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment