Skip to content

Commit

Permalink
Update test/req_athena_test.exs
Browse files Browse the repository at this point in the history
Co-authored-by: Wojtek Mach <[email protected]>
  • Loading branch information
Philip Sampaio and wojtekmach authored Sep 11, 2024
1 parent 10f7eca commit 30593d5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/req_athena_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,10 @@ defmodule ReqAthenaTest do
}

assert response =
Req.new(adapter: fake_athena(request_validations))
|> Req.Request.put_header("x-auth", "my awesome auth header")
Req.new(
adapter: fake_athena(request_validations),
headers: [x_auth: "my awesome auth header"]
)
|> ReqAthena.attach(opts)
|> Req.post!(athena: "select * from iris", decode_body: false)

Expand Down

0 comments on commit 30593d5

Please sign in to comment.