File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -335,7 +335,6 @@ func TestGetCacheKey(t *testing.T) {
335
335
shouldHashQuery bool
336
336
ignoreParams []string
337
337
hashHeaders []string
338
- ignoreHeaders []string
339
338
want string
340
339
}{
341
340
{
@@ -428,19 +427,6 @@ func TestGetCacheKey(t *testing.T) {
428
427
hashHeaders : []string {"Authorization" , "X-User-ID" , "Accept" },
429
428
want : "GET:/api/users|Accept=application/json|Authorization=Bearer token123|X-User-ID=user456" ,
430
429
},
431
- {
432
- name : "ignored headers" ,
433
- path : "/api/users" ,
434
- method : "GET" ,
435
- headers : map [string ]string {
436
- "Authorization" : "Bearer token123" ,
437
- "X-User-ID" : "user456" ,
438
- },
439
- shouldHashQuery : true ,
440
- hashHeaders : []string {"Authorization" , "X-User-ID" },
441
- ignoreHeaders : []string {"X-User-ID" },
442
- want : "GET:/api/users|Authorization=Bearer token123" ,
443
- },
444
430
{
445
431
name : "multiple values for same header" ,
446
432
path : "/api/users" ,
You can’t perform that action at this time.
0 commit comments