fix: make the order ID different than in the consumer test
authorRonald Holshausen <rholshausen@dius.com.au>
Wed, 30 Sep 2020 04:11:12 +0000 (14:11 +1000)
committerRonald Holshausen <rholshausen@dius.com.au>
Wed, 30 Sep 2020 04:11:17 +0000 (14:11 +1000)
provider/src/main/java/io/pactflow/example/sirenprovider/controllers/OrderController.java

index 0fb6f36..0377709 100644 (file)
@@ -25,7 +25,7 @@ public class OrderController {
 
   @GetMapping
   public ResponseEntity<RepresentationModel<?>> 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())));