diff --git a/spring-cloud-config-monitor/src/test/java/org/springframework/cloud/config/monitor/CompositePropertyPathNotificationExtractorTests.java b/spring-cloud-config-monitor/src/test/java/org/springframework/cloud/config/monitor/CompositePropertyPathNotificationExtractorTests.java index b4a1be39..99c84f92 100644 --- a/spring-cloud-config-monitor/src/test/java/org/springframework/cloud/config/monitor/CompositePropertyPathNotificationExtractorTests.java +++ b/spring-cloud-config-monitor/src/test/java/org/springframework/cloud/config/monitor/CompositePropertyPathNotificationExtractorTests.java @@ -46,7 +46,7 @@ public class CompositePropertyPathNotificationExtractorTests { public void githubSample() throws Exception { // See https://developer.github.com/v3/activity/events/types/#pushevent Map value = new ObjectMapper().readValue( - new ClassPathResource("gitpush.json").getInputStream(), + new ClassPathResource("github.json").getInputStream(), new TypeReference>() { }); this.headers.set("X-Github-Event", "push"); diff --git a/spring-cloud-config-monitor/src/test/java/org/springframework/cloud/config/monitor/GithubPropertyPathNotificationExtractorTests.java b/spring-cloud-config-monitor/src/test/java/org/springframework/cloud/config/monitor/GithubPropertyPathNotificationExtractorTests.java index f45ba4a8..360c1572 100644 --- a/spring-cloud-config-monitor/src/test/java/org/springframework/cloud/config/monitor/GithubPropertyPathNotificationExtractorTests.java +++ b/spring-cloud-config-monitor/src/test/java/org/springframework/cloud/config/monitor/GithubPropertyPathNotificationExtractorTests.java @@ -43,7 +43,7 @@ public class GithubPropertyPathNotificationExtractorTests { public void githubSample() throws Exception { // See https://developer.github.com/v3/activity/events/types/#pushevent Map value = new ObjectMapper().readValue( - new ClassPathResource("gitpush.json").getInputStream(), + new ClassPathResource("github.json").getInputStream(), new TypeReference>() { }); this.headers.set("X-Github-Event", "push");