Skip to content

Commit ccc1a43

Browse files
committedOct 12, 2023
Fix unit tests since PopulateCertIdentifier method signature changed
1 parent ba68307 commit ccc1a43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎cmd/credentials_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func TestValidSelectorParsing(t *testing.T) {
1818
"Key=x509Issuer,Value=CN=Issuer",
1919
}
2020
for _, fixture := range fixtures {
21-
_, err := PopulateCertIdentifier(fixture)
21+
_, err := PopulateCertIdentifier(fixture, "MY")
2222
if err != nil {
2323
t.Log("Unable to populate cert identifier from selector")
2424
t.Fail()
@@ -36,7 +36,7 @@ func TestInvalidSelectorParsing(t *testing.T) {
3636
"Key=aljsdf,Value=aljsdfadsf",
3737
}
3838
for _, fixture := range fixtures {
39-
_, err := PopulateCertIdentifier(fixture)
39+
_, err := PopulateCertIdentifier(fixture, "MY")
4040
if err == nil {
4141
t.Log("Expected parsing failure, but received none")
4242
t.Fail()

0 commit comments

Comments
 (0)