Переглянути джерело

Remove test that is no longer implemented by the method.

max furman 6 роки тому
батько
коміт
d482ae2fb5
1 змінених файлів з 0 додано та 13 видалено
  1. 0 13
      authority/config_test.go

+ 0 - 13
authority/config_test.go

@@ -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{},