Skip to content

Commit f82b60e

Browse files
committed
chore: assert is pull request returning value
1 parent 0c90d37 commit f82b60e

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
@@ -1081,6 +1081,7 @@ public void pull_request() throws Exception {
10811081
assertThat(event.getPullRequest().getBase().getLabel(), is("baxterthehacker:main"));
10821082
assertThat(event.getPullRequest().getBase().getSha(), is("9049f1265b7d61be4a8904a9a27120d2064dab3b"));
10831083
assertThat(event.getPullRequest().isMerged(), is(false));
1084+
assertThat(event.getPullRequest().isPullRequest(), is(true));
10841085
assertThat(event.getPullRequest().getMergeable(), nullValue());
10851086
assertThat(event.getPullRequest().getMergeableState(), is("unknown"));
10861087
assertThat(event.getPullRequest().getMergedBy(), nullValue());

0 commit comments

Comments
 (0)