diff --git a/proxy/proxy_test.go b/proxy/proxy_test.go index fe1c35488..b4b770f6c 100644 --- a/proxy/proxy_test.go +++ b/proxy/proxy_test.go @@ -365,14 +365,14 @@ func TestPolicyPrefixRouting(t *testing.T) { opts := testOptions(t) opts.Policies = []config.Policy{ { - From: "https://from.example.com", - To: "http://" + adminServer.Listener.Addr().String(), - Prefix: "/admin", + From: "https://from.example.com", + To: "http://" + adminServer.Listener.Addr().String(), + Prefix: "/admin", AllowPublicUnauthenticatedAccess: true, }, { - From: "https://from.example.com", - To: "http://" + publicServer.Listener.Addr().String(), + From: "https://from.example.com", + To: "http://" + publicServer.Listener.Addr().String(), AllowPublicUnauthenticatedAccess: true, }, } @@ -411,4 +411,4 @@ func TestPolicyPrefixRouting(t *testing.T) { t.Errorf("expected non-admin request to go to the public backend") } }) -} \ No newline at end of file +}