Skip to content

Commit

Permalink
Update test/req/utils_test.exs
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmach committed Mar 15, 2024
1 parent 1886a77 commit 00bc872
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/req/utils_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ defmodule Req.UtilsTest do
Keyword.fetch!(options, :secret_access_key),
Keyword.fetch!(options, :region),
Keyword.fetch!(options, :service),
NaiveDateTime.to_erl(Keyword.fetch!(options, :datetime)),
String.upcase(Atom.to_string(Keyword.fetch!(options, :method))),
Keyword.fetch!(options, :datetime) |> NaiveDateTime.to_erl(),
Keyword.fetch!(options, :method) |> Atom.to_string() |> String.upcase(),
Keyword.fetch!(options, :url),
Keyword.fetch!(options, :headers),
Keyword.fetch!(options, :body)
Keyword.fetch!(options, :body),
Keyword.take(options, [:body_digest])
)

assert signature1 ==
Expand Down

0 comments on commit 00bc872

Please sign in to comment.