Skip to content

Commit

Permalink
add autoredirect to option
Browse files Browse the repository at this point in the history
Signed-off-by: David Wu <david.wu@docker.com>
  • Loading branch information
David Wu committed Sep 21, 2018
1 parent b2bd465 commit 2e1e630
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions registry/auth/token/token_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ func TestAccessController(t *testing.T) {
"issuer": issuer,
"service": service,
"rootcertbundle": rootCertBundleFilename,
"autoredirect": false,
}

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

ac, err := newAccessController(options)
Expand Down

0 comments on commit 2e1e630

Please sign in to comment.