Skip to content

Commit

Permalink
Update test data
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwiseman committed Mar 14, 2024
1 parent d1867d6 commit 87254a6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 159 deletions.
8 changes: 4 additions & 4 deletions src/test/java/org/kohsuke/github/GHEventPayloadTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -1001,9 +1001,9 @@ public void InstallationCreatedEvent() throws Exception {
assertThat(event.getInstallation().getAccount().getLogin(), is("CronFire"));

assertThat(event.getRepositories().isEmpty(), is(false));
assertThat(event.getRepositories().get(0).getId(), is(1296269));
assertThat(event.getRepositories().get(0).getId(), is(1296269L));
assertThat(event.getRawRepositories().isEmpty(), is(false));
assertThat(event.getRawRepositories().get(0).getId(), is(1296269));
assertThat(event.getRawRepositories().get(0).getId(), is(1296269L));

assertThat(event.getSender().getLogin(), is("Haarolean"));
}
Expand All @@ -1026,8 +1026,8 @@ public void InstallationDeletedEvent() throws Exception {
assertThat(event.getInstallation().getAccount().getLogin(), is("octocat"));

assertThrows(IllegalStateException.class, () -> event.getRepositories().isEmpty());
assertThat(event.getRepositories().isEmpty(), is(false));
assertThat(event.getRepositories().get(0).getId(), is(1296269));
assertThat(event.getRawRepositories().isEmpty(), is(false));
assertThat(event.getRawRepositories().get(0).getId(), is(1296269L));

assertThat(event.getSender().getLogin(), is("octocat"));
}
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 87254a6

Please sign in to comment.