Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalp committed Feb 14, 2024
1 parent 68c84f4 commit 85fedf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_proxy_resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ async def test_proxy_resolver_proxies_headers_via_callable(
schema,
root_value,
):
def proxy_headers(_, info, payload):
def proxy_headers(context):
return {
"x-auth": info.context["headers"].get("authorization"),
"x-auth": context["headers"].get("authorization"),
}

resolver = ProxyResolver(
Expand Down

0 comments on commit 85fedf2

Please sign in to comment.