forked from TrueCloudLab/certificates
Remove test that is no longer implemented by the method.
This commit is contained in:
parent
397a181d10
commit
d482ae2fb5
1 changed files with 0 additions and 13 deletions
|
@ -255,19 +255,6 @@ func TestAuthConfigValidate(t *testing.T) {
|
||||||
err: errors.New("authority cannot be undefined"),
|
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 {
|
"ok-empty-provisioners": func(t *testing.T) AuthConfigValidateTest {
|
||||||
return AuthConfigValidateTest{
|
return AuthConfigValidateTest{
|
||||||
ac: &AuthConfig{},
|
ac: &AuthConfig{},
|
||||||
|
|
Loading…
Reference in a new issue