Skip to content

Commit

Permalink
EPMRPP-87813 || Send to the analyzer the id of previous launch
Browse files Browse the repository at this point in the history
  • Loading branch information
APiankouski committed Nov 22, 2023
1 parent 9f76a58 commit 0adf10f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -450,9 +450,9 @@ void shouldNotFindLaunchesWithSystemAttributes() {
void findPreviousLaunchId() {
Launch launch = new Launch();
launch.setName("finished launch");
launch.setId(100L);
launch.setId(300L);
launch.setProjectId(2L);
launch.setNumber(1L);
launch.setNumber(3L);
Optional<Long> previousLaunchId = launchRepository.findPreviousLaunchId(launch);

assertEquals(200L, previousLaunchId.orElse(0L));
Expand Down

0 comments on commit 0adf10f

Please sign in to comment.