From: Ronald Holshausen Date: Wed, 30 Sep 2020 04:11:12 +0000 (+1000) Subject: fix: make the order ID different than in the consumer test X-Git-Tag: wip-umbau-array-contains~26 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=647d945f1a926cc70993c7be0acecc2da9d48de2;p=demos%2Fexample-siren fix: make the order ID different than in the consumer test --- 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())));