Skip to content

Commit

Permalink
chore: correct example message JUnit tests #384
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronald Holshausen committed Aug 7, 2021
1 parent ae0dd49 commit 6c77eb5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public MessagePact createPact(MessagePactBuilder builder) {
}

@Test
@PactVerification({"test_provider", "SomeProviderState"})
@PactVerification({"test_provider"})
public void test() throws Exception {
Assert.assertNotNull(new String(currentMessage));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public MessagePact createPact(MessagePactBuilder builder) {
}

@Test
@PactVerification({"message_test_provider", "SomeProviderState"})
@PactVerification({"message_test_provider"})
public void test() throws Exception {
assertNotNull(new String(messageProvider.getMessage()));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public MessagePact createPact(MessagePactBuilder builder) {
}

@Test
@PactVerification({"test_provider", "SomeProviderState"})
@PactVerification({"test_provider"})
public void test() throws Exception {
assertThat(new String(currentMessage), is(equalTo("[100.1,\"Should be in an array\"]")));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public MessagePact createPact(MessagePactBuilder builder) {
}

@Test
@PactVerification({"test_provider", "SomeProviderState"})
@PactVerification({"test_provider"})
public void test() throws Exception {
assertNotNull(mockProvider.getMessage());
assertNotNull(mockProvider.getMetadata());
Expand Down

0 comments on commit 6c77eb5

Please sign in to comment.