Fixing compilation errors due to API change

This commit is contained in:
Armon Dadgar 2015-03-24 16:20:05 -07:00
parent 9a4946f115
commit 2024c7a155
3 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ func TestSealStatus(t *testing.T) {
}
core := vault.TestCore(t)
key := vault.TestCoreInit(t, core)
key, _ := vault.TestCoreInit(t, core)
ln, addr := http.TestServer(t, core)
defer ln.Close()

View File

@ -11,7 +11,7 @@ import (
func TestUnseal(t *testing.T) {
core := vault.TestCore(t)
key := vault.TestCoreInit(t, core)
key, _ := vault.TestCoreInit(t, core)
ln, addr := http.TestServer(t, core)
defer ln.Close()

View File

@ -57,7 +57,7 @@ func TestSysSeal_unsealed(t *testing.T) {
ln, addr := TestServer(t, core)
defer ln.Close()
key := vault.TestCoreInit(t, core)
key, _ := vault.TestCoreInit(t, core)
if _, err := core.Unseal(key); err != nil {
t.Fatalf("err: %s", err)
}
@ -76,7 +76,7 @@ func TestSysSeal_unsealed(t *testing.T) {
func TestSysUnseal(t *testing.T) {
core := vault.TestCore(t)
key := vault.TestCoreInit(t, core)
key, _ := vault.TestCoreInit(t, core)
ln, addr := TestServer(t, core)
defer ln.Close()