Skip to content

Commit

Permalink
Fix broken test case
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalnayak committed Mar 11, 2016
1 parent baeb602 commit c86f409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vault/core_test.go
Expand Up @@ -950,7 +950,7 @@ func TestCore_HandleLogin_AuditTrail(t *testing.T) {
if auth.ClientToken != clientToken {
t.Fatalf("bad client token: %#v", auth)
}
if len(auth.Policies) != 2 || auth.Policies[0] != "foo" || auth.Policies[1] != "bar" {
if len(auth.Policies) != 3 || auth.Policies[0] != "foo" || auth.Policies[1] != "bar" || auth.Policies[2] != "default" {
t.Fatalf("bad: %#v", auth)
}
if len(noop.RespReq) != 2 || !reflect.DeepEqual(noop.RespReq[1], lreq) {
Expand Down

0 comments on commit c86f409

Please sign in to comment.