Skip to content

Commit

Permalink
♻ : replace unchecked assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
juwit committed Sep 17, 2021
1 parent 7ae64ea commit a5ff22b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void stacksWithNoJob_shouldHaveZeroCost() {
var stack = new Stack();
stack.setId("12");

when(jobRepository.findAllByStackIdOrderByScheduleTimeDesc("12")).thenReturn(Collections.EMPTY_LIST);
when(jobRepository.findAllByStackIdOrderByScheduleTimeDesc("12")).thenReturn(List.of());

// when
var cost = calculator.calculateRunningCostEstimation(stack);
Expand Down

0 comments on commit a5ff22b

Please sign in to comment.