File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/test/java/org/kohsuke/github Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -224,9 +224,9 @@ public void pull_request_edited_base() throws Exception {
224224 assertThat (event .getPullRequest ().getTitle (), is ("REST-276 - easy-random" ));
225225 assertThat (event .getChanges ().getBase ().getRef ().getFrom (), is ("develop" ));
226226 assertThat (event .getChanges ().getBase ().getSha ().getFrom (), is ("4b0f3b9fd582b071652ccfccd10bfc8c143cff96" ));
227+ assertThat (event .getPullRequest ().getBase ().getRef (), is ("4.3" ));
227228 assertThat (event .getPullRequest ().getBody (), startsWith ("**JIRA Ticket URL:**" ));
228229 assertThat (event .getChanges ().getBody (), nullValue ());
229- assertThat (event .getChanges ().getTitle (), nullValue ());
230230 }
231231
232232 @ Test
@@ -238,6 +238,7 @@ public void pull_request_edited_title() throws Exception {
238238 assertThat (event .getChanges ().getTitle ().getFrom (), is ("REST-276 - easy-random" ));
239239 assertThat (event .getPullRequest ().getTitle (), is ("REST-276 - easy-random 4.3.0" ));
240240 assertThat (event .getChanges ().getBase (), nullValue ());
241+ assertThat (event .getPullRequest ().getBase ().getRef (), is ("4.3" ));
241242 assertThat (event .getPullRequest ().getBody (), startsWith ("**JIRA Ticket URL:**" ));
242243 assertThat (event .getChanges ().getBody (), nullValue ());
243244 }
You can’t perform that action at this time.
0 commit comments