diff --git a/pkg/testhelper/op/op.go b/pkg/testhelper/op/op.go index 3f5f997..94a8b8f 100644 --- a/pkg/testhelper/op/op.go +++ b/pkg/testhelper/op/op.go @@ -1,7 +1,6 @@ package op import ( - "fmt" "github.com/1Password/onepassword-operator/pkg/testhelper/system" ) @@ -13,12 +12,3 @@ func UpdateItemPassword(item string) error { } return nil } - -// ReadItemPassword reads the password of an item in 1Password -func ReadItemPassword(item, vault string) (string, error) { - output, err := system.Run("op", "read", fmt.Sprintf("op://%s/%s/password", vault, item)) - if err != nil { - return "", err - } - return output, nil -}