mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
fix all tests
This commit is contained in:
@@ -11,13 +11,13 @@ import (
|
||||
|
||||
func TestUnseal(t *testing.T) {
|
||||
core := vault.TestCore(t)
|
||||
keys := vault.TestCoreInit(t, core)
|
||||
key := vault.TestCoreInit(t, core)
|
||||
ln, addr := http.TestServer(t, core)
|
||||
defer ln.Close()
|
||||
|
||||
ui := new(cli.MockUi)
|
||||
c := &UnsealCommand{
|
||||
Key: hex.EncodeToString(keys[0]),
|
||||
Key: hex.EncodeToString(key),
|
||||
Meta: Meta{
|
||||
Ui: ui,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user