mirror of
https://github.com/1Password/onepassword-operator.git
synced 2025-10-21 23:18:06 +00:00
Remove commented code
This commit is contained in:
@@ -807,15 +807,6 @@ func TestUpdateSecretHandler(t *testing.T) {
|
||||
|
||||
mockOpClient := &mocks.TestClient{}
|
||||
mockOpClient.On("GetItemByID", mock.Anything, mock.Anything).Return(createItem(), nil)
|
||||
//mocks.DoGetItemFunc = func(uuid string, vaultUUID string) (*onepassword.Item, error) {
|
||||
//
|
||||
// item := onepassword.Item{}
|
||||
// item.Fields = generateFields(testData.opItem["username"], testData.opItem["password"])
|
||||
// item.Version = itemVersion
|
||||
// item.Vault.ID = vaultUUID
|
||||
// item.ID = uuid
|
||||
// return &item, nil
|
||||
//}
|
||||
h := &SecretUpdateHandler{
|
||||
client: cl,
|
||||
opClient: mockOpClient,
|
||||
|
Reference in New Issue
Block a user