Ensure a use case required by github-plugin is valid

This commit is contained in:
Stephen Connolly
2016-11-08 15:11:35 +00:00
parent 5b92d4b88c
commit ce3f74232e

View File

@@ -212,6 +212,7 @@ public class GHEventPayloadTest {
assertThat(event.getCommits().get(0).getModified().get(0), is("README.md"));
assertThat(event.getRepository().getName(), is("public-repo"));
assertThat(event.getRepository().getOwner().getLogin(), is("baxterthehacker"));
assertThat(event.getRepository().getUrl().toExternalForm(), is("https://github.com/baxterthehacker/public-repo"));
assertThat(event.getSender().getLogin(), is("baxterthehacker"));
}