From 2e1e6307dd4346049fe68c90f8117855b8c00347 Mon Sep 17 00:00:00 2001 From: David Wu Date: Thu, 20 Sep 2018 18:54:57 -0700 Subject: [PATCH] add autoredirect to option Signed-off-by: David Wu --- registry/auth/token/token_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/registry/auth/token/token_test.go b/registry/auth/token/token_test.go index 03dce6fa6..69f3e78b6 100644 --- a/registry/auth/token/token_test.go +++ b/registry/auth/token/token_test.go @@ -333,6 +333,7 @@ func TestAccessController(t *testing.T) { "issuer": issuer, "service": service, "rootcertbundle": rootCertBundleFilename, + "autoredirect": false, } accessController, err := newAccessController(options) @@ -518,6 +519,7 @@ func TestNewAccessControllerPemBlock(t *testing.T) { "issuer": issuer, "service": service, "rootcertbundle": rootCertBundleFilename, + "autoredirect": false, } ac, err := newAccessController(options)