Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Nov 13, 2024
1 parent d83538c commit 6635297
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static void setupProperty() {
public void setupMock() {
Launch launch = mock(Launch.class);
IssueReportingTest.TestExtension.LAUNCH = launch;
when(launch.startTestItem(any())).thenAnswer((Answer<Maybe<String>>) invocation -> suiteMaybe);
when(launch.startTestItem(any())).thenReturn(suiteMaybe);
when(launch.startTestItem(any(), any())).thenAnswer((Answer<Maybe<String>>) invocation -> CommonUtils.createMaybeUuid());
when(launch.startTestItem(same(suiteMaybe), any())).thenAnswer((Answer<Maybe<String>>) invocation -> stepIds.poll());
when(launch.startTestItem(same(stepOneMaybe), any())).thenAnswer((Answer<Maybe<String>>) invocation -> stepIds.poll());
Expand Down

0 comments on commit 6635297

Please sign in to comment.