Skip to content

Commit

Permalink
fix: Removed unnecessary eq on verify method
Browse files Browse the repository at this point in the history
Removed unnecessary eq on verify method due to SonarQube issue
  • Loading branch information
Amitrei authored Jan 4, 2025
1 parent 1412c5a commit f6a85c2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.ArgumentMatchers.eq;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;

Expand Down Expand Up @@ -78,7 +77,7 @@ void builderPathWithLowerCasedBuilderName() throws Exception {
buildXService.createBuilder(configPathSpy, Arrays.asList("docker", "buildx"), imageConfig, buildDirs);

// Then
verify(configPathSpy).resolve(eq(expectedPath));
verify(configPathSpy).resolve(expectedPath);
}

@Test
Expand Down

0 comments on commit f6a85c2

Please sign in to comment.