Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
izzat5233 committed May 13, 2023
1 parent 54d7cd7 commit 557ed15
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
import java.time.LocalDateTime;
import java.util.Objects;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import static org.junit.Assert.*;
import static org.testfx.api.FxAssert.verifyThat;

public class OrderCRUDSteps extends ApplicationTestBase {
Expand Down Expand Up @@ -70,7 +69,7 @@ public void aNewOrderIsAddedToTheOrderList() {
var orderCreatedAt = orderEntity.getCreatedAt().toLocalDateTime().withMinute(0).withSecond(0).withNano(0);
return orderCreatedAt.equals(now);
});
assertEquals(1, matchers.count());
assertNotEquals(0, matchers.count());
}

@Given("I select the new order from the order list")
Expand Down

0 comments on commit 557ed15

Please sign in to comment.