Skip to content

Commit ca4329e

Browse files
committed
fix: Modified assertion of jwe-decrypt.t TEST 26 to allow upstream authorizations returned as arrays (matching "Authorization": ["hello"])
1 parent 9487a5c commit ca4329e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/plugin/jwe-decrypt.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,6 @@ GET /headers
616616
--- more_headers
617617
Authorization: eyJhbGciOiJkaXIiLCJraWQiOiJ1c2VyLWtleSIsImVuYyI6IkEyNTZHQ00ifQ..MTIzNDU2Nzg5MDEy._0DrWD0.vl-ydutnNuMpkYskwNqu-Q
618618
--- response_body_like
619-
.*"Authorization": "hello".*
619+
.*"Authorization":\s*\[\s*"hello"\s*\].*
620620
--- no_error_log
621621
fo4XKdZ1xSrIZyms4q2BwPrW5lMpls9qqy5tiAk2esc=

0 commit comments

Comments
 (0)