Skip to content

Commit f35d863

Browse files
committed
fix vault_test
1 parent ab9a798 commit f35d863

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/enpass/vault_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func TestVault_Initialize(t *testing.T) {
1717
}
1818
vault.Logger.SetLevel(logrus.ErrorLevel)
1919
defer vault.Close()
20-
if err := vault.Initialize(vaultPath, VaultAccessData{Password: testPassword}); err != nil {
20+
if err := vault.Initialize(vaultPath, &VaultAccessData{Password: testPassword}); err != nil {
2121
t.Errorf("vault initialization failed: %+v", err)
2222
}
2323
}
@@ -29,7 +29,7 @@ func TestVault_GetEntries(t *testing.T) {
2929
vault.Logger.SetLevel(logrus.ErrorLevel)
3030
defer vault.Close()
3131

32-
if err := vault.Initialize(vaultPath, VaultAccessData{Password: testPassword}); err != nil {
32+
if err := vault.Initialize(vaultPath, &VaultAccessData{Password: testPassword}); err != nil {
3333
t.Errorf("vault initialization failed: %+v", err)
3434
}
3535

0 commit comments

Comments
 (0)