Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
lmossman committed Sep 8, 2022
1 parent ac88f4a commit 9579061
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1001,6 +1001,7 @@ void testGetOldestPendingJobWithOtherJobWithSameScopeIncomplete() throws IOExcep
@Nested
@DisplayName("When getting the count of jobs")
class GetJobCount {

@Test
@DisplayName("Should return the total job count for the connection")
void testGetJobCount() throws IOException {
Expand All @@ -1027,6 +1028,7 @@ void testGetJobCountNoneForConnection() throws IOException {

assertEquals(0, actualJobCount);
}

}

@Nested
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ void testListJobs() throws IOException {
final var successfulJobWithAttemptRead = new JobWithAttemptsRead().job(toJobInfo(successfulJob)).attempts(ImmutableList.of(toAttemptRead(
testJobAttempt)));
final var latestJobWithAttemptRead = new JobWithAttemptsRead().job(toJobInfo(latestJobNoAttempt)).attempts(Collections.emptyList());
final JobReadList expectedJobReadList = new JobReadList().jobs(List.of(latestJobWithAttemptRead, successfulJobWithAttemptRead)).totalJobCount(2L);
final JobReadList expectedJobReadList =
new JobReadList().jobs(List.of(latestJobWithAttemptRead, successfulJobWithAttemptRead)).totalJobCount(2L);

assertEquals(expectedJobReadList, jobReadList);
}
Expand Down

0 comments on commit 9579061

Please sign in to comment.