Skip to content

Commit

Permalink
fixing operator unseal test (#6241)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishoffman authored and briankassouf committed Feb 15, 2019
1 parent ec015ec commit 4ad8ef7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion command/operator_unseal_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
package command

import (
"bytes"
"encoding/json"
"io/ioutil"
"os"
"strings"
"testing"

Expand Down Expand Up @@ -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)
}
Expand Down

0 comments on commit 4ad8ef7

Please sign in to comment.