forked from TrueCloudLab/distribution
add autoredirect to option
Signed-off-by: David Wu <david.wu@docker.com>
This commit is contained in:
parent
b2bd465760
commit
2e1e6307dd
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue