Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ce3f742

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

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

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

Copy file name to clipboardExpand all lines: src/test/java/org/kohsuke/github/GHEventPayloadTest.java
+1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.