Skip to content

Commit ce3f742

Browse files
committed
Ensure a use case required by github-plugin is valid
1 parent 5b92d4b commit ce3f742

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/test/java/org/kohsuke/github/GHEventPayloadTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ public void push() throws Exception {
212212
assertThat(event.getCommits().get(0).getModified().get(0), is("README.md"));
213213
assertThat(event.getRepository().getName(), is("public-repo"));
214214
assertThat(event.getRepository().getOwner().getLogin(), is("baxterthehacker"));
215+
assertThat(event.getRepository().getUrl().toExternalForm(), is("https://github.com/baxterthehacker/public-repo"));
215216
assertThat(event.getSender().getLogin(), is("baxterthehacker"));
216217
}
217218

0 commit comments

Comments
 (0)