fix all tests

This commit is contained in:
Mitchell Hashimoto
2015-03-15 17:10:33 -07:00
parent e7f7f7a221
commit 2d92c2ee10
3 changed files with 9 additions and 11 deletions

View File

@@ -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,
},