diff --git a/rest/engine_test.go b/rest/engine_test.go index 15f5a3d2a7cf..f2feaf3845e7 100644 --- a/rest/engine_test.go +++ b/rest/engine_test.go @@ -114,8 +114,8 @@ Verbose: true { priority: true, jwt: jwtSetting{ - enabled: true, - tokenKeys: []string{"Token", "X-Token"}, + enabled: true, + tokenLookups: []string{"header:Token", "query:Token", "form:Token"}, }, signature: signatureSetting{}, routes: []Route{{