add autoredirect to option

Signed-off-by: David Wu <david.wu@docker.com>
This commit is contained in:
David Wu 2018-09-20 18:54:57 -07:00
parent b2bd465760
commit 2e1e6307dd

View file

@ -333,6 +333,7 @@ func TestAccessController(t *testing.T) {
"issuer": issuer, "issuer": issuer,
"service": service, "service": service,
"rootcertbundle": rootCertBundleFilename, "rootcertbundle": rootCertBundleFilename,
"autoredirect": false,
} }
accessController, err := newAccessController(options) accessController, err := newAccessController(options)
@ -518,6 +519,7 @@ func TestNewAccessControllerPemBlock(t *testing.T) {
"issuer": issuer, "issuer": issuer,
"service": service, "service": service,
"rootcertbundle": rootCertBundleFilename, "rootcertbundle": rootCertBundleFilename,
"autoredirect": false,
} }
ac, err := newAccessController(options) ac, err := newAccessController(options)