Skip to content

Commit

Permalink
Fix a test bug I introduced in 1d13290 by failing to update my PR to …
Browse files Browse the repository at this point in the history
…the latest master before merging.
  • Loading branch information
ncabatoff committed May 9, 2019
1 parent 1d13290 commit 1b1ecf1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions builtin/logical/pki/cert_util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,20 +139,20 @@ func TestPki_MultipleOUs(t *testing.T) {
"ttl": 3600,
},
}
input := &dataBundle{
input := &inputBundle{
apiData: apiData,
role: &roleEntry{
MaxTTL: 3600,
OU: []string{"Z", "E", "V"},
},
}
err := generateCreationBundle(&b, input)
cb, err := generateCreationBundle(&b, input, nil, nil)
if err != nil {
t.Fatalf("Error: %v", err)
}

expected := []string{"Z", "E", "V"}
actual := input.params.Subject.OrganizationalUnit
actual := cb.Params.Subject.OrganizationalUnit

if !reflect.DeepEqual(expected, actual) {
t.Fatalf("Expected %v, got %v", expected, actual)
Expand Down

0 comments on commit 1b1ecf1

Please sign in to comment.