From 7bb178af2fc8446bb00d7fb1f8ff1c71b23c50a4 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Wed, 23 Sep 2015 10:27:02 +0100 Subject: [PATCH] Fix missing JSON resource --- .../CompositePropertyPathNotificationExtractorTests.java | 2 +- .../monitor/GithubPropertyPathNotificationExtractorTests.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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");