Skip to content

Commit

Permalink
Update template_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
philipbjorge authored Oct 25, 2017
1 parent 338fce1 commit 214e13c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/nginx/template/template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,8 @@ func TestBuildAuthSignURL(t *testing.T) {
cases := map[string]struct {
Input, Output string
}{
"default url": {"http://google.com", "http://google.com?rd=$scheme://$http_host$request_uri"},
"with random field": {"http://google.com?cat=0", "http://google.com?cat=0&rd=$scheme://$http_host$request_uri"},
"default url": {"http://google.com", "http://google.com?rd=$pass_access_scheme://$http_host$request_uri"},
"with random field": {"http://google.com?cat=0", "http://google.com?cat=0&rd=$pass_access_scheme://$http_host$request_uri"},
"with rd field": {"http://google.com?cat&rd=$request", "http://google.com?cat&rd=$request"},
}
for k, tc := range cases {
Expand Down

0 comments on commit 214e13c

Please sign in to comment.