Skip to content

Commit 2c7ac70

Browse files
ontap: add missing Mockito static imports to StorageStrategyTest
StorageStrategyTest calls mock() and never() without importing them, so cloud-plugin-storage-volume-ontap fails testCompile. Introduced by 065269a (#66), which added the calls but not the imports. The failure only surfaces in CI because the PR build compiles the merge of this branch into main, where main's copy of the file supersedes ours. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 45becf9 commit 2c7ac70

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎plugins/storage/volume/ontap/src/test/java/org/apache/cloudstack/storage/service/StorageStrategyTest.java‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@
5959
import static org.mockito.ArgumentMatchers.eq;
6060
import org.mockito.Mock;
6161
import static org.mockito.Mockito.atLeastOnce;
62+
import static org.mockito.Mockito.mock;
63+
import static org.mockito.Mockito.never;
6264
import static org.mockito.Mockito.times;
6365
import static org.mockito.Mockito.verify;
6466
import static org.mockito.Mockito.when;

0 commit comments

Comments
 (0)