From 647d945f1a926cc70993c7be0acecc2da9d48de2 Mon Sep 17 00:00:00 2001 From: Ronald Holshausen Date: Wed, 30 Sep 2020 14:11:12 +1000 Subject: [PATCH] fix: make the order ID different than in the consumer test --- .../example/sirenprovider/controllers/OrderController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider/src/main/java/io/pactflow/example/sirenprovider/controllers/OrderController.java b/provider/src/main/java/io/pactflow/example/sirenprovider/controllers/OrderController.java index 0fb6f36..0377709 100644 --- a/provider/src/main/java/io/pactflow/example/sirenprovider/controllers/OrderController.java +++ b/provider/src/main/java/io/pactflow/example/sirenprovider/controllers/OrderController.java @@ -25,7 +25,7 @@ public class OrderController { @GetMapping public ResponseEntity> orders() { - Order order = new Order(1234L); + Order order = new Order(23475765L); Link selfLink = linkTo(methodOn(OrderController.class).order(order.getId())).withSelfRel() .andAffordance(afford(methodOn(OrderController.class).update(order.getId(), null))) .andAffordance(afford(methodOn(OrderController.class).delete(order.getId()))); -- 2.20.1