Fix missing JSON resource

This commit is contained in:
Dave Syer
2015-09-23 10:27:02 +01:00
parent 38e58d7a80
commit 7bb178af2f
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ public class CompositePropertyPathNotificationExtractorTests {
public void githubSample() throws Exception {
// See https://developer.github.com/v3/activity/events/types/#pushevent
Map<String, Object> value = new ObjectMapper().readValue(
new ClassPathResource("gitpush.json").getInputStream(),
new ClassPathResource("github.json").getInputStream(),
new TypeReference<Map<String, Object>>() {
});
this.headers.set("X-Github-Event", "push");

View File

@@ -43,7 +43,7 @@ public class GithubPropertyPathNotificationExtractorTests {
public void githubSample() throws Exception {
// See https://developer.github.com/v3/activity/events/types/#pushevent
Map<String, Object> value = new ObjectMapper().readValue(
new ClassPathResource("gitpush.json").getInputStream(),
new ClassPathResource("github.json").getInputStream(),
new TypeReference<Map<String, Object>>() {
});
this.headers.set("X-Github-Event", "push");