Skip to content

Commit 7cce6b1

Browse files
committed
fix console test
1 parent d07aae4 commit 7cce6b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: server/console/console-admin_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func TestRootOnlyVerifyCertificate(t *testing.T) {
3636
}
3737

3838
// Test with wrong CA
39-
wrongCert, _ := certs.GenerateECCCertificate(certs.HTTPSCA, "foobar", false, false)
39+
wrongCert, _ := certs.GenerateECCCertificate(certs.HTTPSCA, "foobar", false, false, false)
4040
block, _ = pem.Decode(wrongCert)
4141
err = clienttransport.RootOnlyVerifyCertificate(config.CACertificate, [][]byte{block.Bytes})
4242
if err == nil {

0 commit comments

Comments
 (0)