Skip to content

Commit

Permalink
Fix test GTC:
Browse files Browse the repository at this point in the history
  • Loading branch information
JoepdeJong committed Jun 26, 2023
1 parent e00651f commit 47852cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Test and Deploy
on:
push:
pull_request:
workflow_dispatch:
jobs:
testAndDeploy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void testCheckoutShoppingBasket() throws Exception {

@Test
public void testCheckOutShoppingBasketNotAgreed() throws Exception {
Product product = new Product("test", "test ticket", 1.33d, 100, LocalDateTime.now().minusHours(1), LocalDateTime.now().plusHours(1));
Product product = new Product("test", "test ticket", 1.33d, VatRate.VAT_HIGH, 100, LocalDateTime.now().minusHours(1), LocalDateTime.now().plusHours(1));
productRepository.saveAndFlush(product);

mockMvc.perform(
Expand Down

0 comments on commit 47852cb

Please sign in to comment.