mirror of
https://github.com/outbackdingo/certificates.git
synced 2026-01-27 10:18:34 +00:00
Remove test that is no longer implemented by the method.
This commit is contained in:
@@ -255,19 +255,6 @@ func TestAuthConfigValidate(t *testing.T) {
|
||||
err: errors.New("authority cannot be undefined"),
|
||||
}
|
||||
},
|
||||
/*
|
||||
"fail-invalid-claims": func(t *testing.T) AuthConfigValidateTest {
|
||||
return AuthConfigValidateTest{
|
||||
ac: &AuthConfig{
|
||||
Provisioners: p,
|
||||
Claims: &provisioner.Claims{
|
||||
MinTLSDur: &provisioner.Duration{Duration: -1},
|
||||
},
|
||||
},
|
||||
err: errors.New("claims: MinTLSCertDuration must be greater than 0"),
|
||||
}
|
||||
},
|
||||
*/
|
||||
"ok-empty-provisioners": func(t *testing.T) AuthConfigValidateTest {
|
||||
return AuthConfigValidateTest{
|
||||
ac: &AuthConfig{},
|
||||
|
||||
Reference in New Issue
Block a user