Skip to content

Commit

Permalink
update expectations, should trigger actions
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderkranga committed Apr 19, 2024
1 parent 482fe59 commit 14309df
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ MessagePact createPact(MessagePactBuilder builder) {
PactDslJsonBody body = new PactDslJsonBody();
body.stringType("name", "product name");
body.stringType("type", "product series");
body.stringType("id", "5cc989d0-d800-434c-b4bb-b1268499e850");
body.stringType("id", "v2"); // testing
body.stringMatcher("version", "v[a-zA-z0-9]+", "v1");
body.stringMatcher("id", "v[a-zA-z0-9]+", "v1"); // testing
body.stringMatcher("event", "^(CREATED|UPDATED|DELETED)$", "CREATED");

Map<String, Object> metadata = new HashMap<>();
Expand Down

0 comments on commit 14309df

Please sign in to comment.