fixing operator unseal test (#6241)

This commit is contained in:
Chris Hoffman 2019-02-15 12:06:37 -05:00 committed by Brian Kassouf
parent a6841a5e94
commit 999fbd3bca
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,10 @@
package command
import (
"bytes"
"encoding/json"
"io/ioutil"
"os"
"strings"
"testing"
@ -164,7 +167,7 @@ func TestOperatorUnsealCommand_Format(t *testing.T) {
Client: client,
}
args, format, _ := setupEnv([]string{"unseal", "-format", "json"})
args, format, _ := setupEnv([]string{"operator", "unseal", "-format", "json"})
if format != "json" {
t.Fatalf("expected %q, got %q", "json", format)
}