From d482ae2fb57ec410f98d3693ba2a63ff8eb0330c Mon Sep 17 00:00:00 2001 From: max furman Date: Fri, 24 Jan 2020 13:45:11 -0800 Subject: [PATCH] Remove test that is no longer implemented by the method. --- authority/config_test.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/authority/config_test.go b/authority/config_test.go index c8767dd1..d049d47e 100644 --- a/authority/config_test.go +++ b/authority/config_test.go @@ -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{},