Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F114248
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
644 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/test/tesla/middleware/header_test.exs b/test/tesla/middleware/header_test.exs
index 1d1ee95..a36c539 100644
--- a/test/tesla/middleware/header_test.exs
+++ b/test/tesla/middleware/header_test.exs
@@ -1,15 +1,15 @@
defmodule Tesla.Middleware.HeadersTest do
use ExUnit.Case
alias Tesla.Env
@middleware Tesla.Middleware.Headers
test "merge headers" do
- env =
+ assert {:ok, env} =
@middleware.call(%Env{headers: [{"authorization", "secret"}]}, [], [
{"content-type", "text/plain"}
])
assert env.headers == [{"authorization", "secret"}, {"content-type", "text/plain"}]
end
end
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Tue, Nov 26, 12:25 AM (1 d, 7 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40136
Default Alt Text
(644 B)
Attached To
Mode
R28 tesla
Attached
Detach File
Event Timeline
Log In to Comment