add autoredirect to option

Signed-off-by: David Wu <david.wu@docker.com>
master
David Wu 2018-09-20 18:54:57 -07:00
parent b2bd465760
commit 2e1e6307dd
1 changed files with 2 additions and 0 deletions

View File

@ -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)