Skip to content

Commit

Permalink
fix merge issue with release branch
Browse files Browse the repository at this point in the history
  • Loading branch information
HomeOfTheWizard committed Nov 26, 2023
1 parent b83db74 commit cc29490
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 176 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -165,16 +165,4 @@ private static Vault createVaultMock(List<Path> paths) throws VaultException {
when(vaultMock.logical()).thenReturn(logicalMock);
return vaultMock;
}

private static Vault createVaultMock2(List<Path> paths) throws VaultException {
var vaultMock = Mockito.mock(Vault.class);
var logicalMock = Mockito.mock(Logical.class);
var logicalResponseMock = Mockito.mock(LogicalResponse.class);
when(logicalResponseMock.getData()).thenReturn(secretsFromPaths(paths));
when(logicalMock.read(any())).thenReturn(logicalResponseMock);
when(logicalMock.list(any())).thenReturn(logicalResponseMock);
when(logicalMock.write(any(),any())).thenReturn(logicalResponseMock);
when(vaultMock.logical()).thenReturn(logicalMock);
return vaultMock;
}
}

0 comments on commit cc29490

Please sign in to comment.