Properly wrap the check runs with the repository when listing them

This commit is contained in:
Guillaume Smet
2021-04-12 18:15:23 +02:00
parent 0c4728f46a
commit bf082f2a46
4 changed files with 13 additions and 8 deletions

View File

@@ -773,6 +773,11 @@ public class GHRepositoryTest extends AbstractGitHubWireMockTest {
checkRunsCount++;
}
assertThat(checkRunsCount, equalTo(expectedCount));
// Check that we can call update on the results
for (GHCheckRun checkRun : checkRuns) {
checkRun.update();
}
}
@Test