mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-17 20:46:11 +00:00
test: fix content-length value type
All headers are strings, always. In this case it didn't matter atm, but let’s not provide confusing examples.
This commit is contained in:
parent
778b213945
commit
68fe0a9633
|
@ -110,7 +110,7 @@ defmodule Pleroma.SignatureTest do
|
|||
|
||||
headers = %{
|
||||
host: "test.test",
|
||||
"content-length": 100
|
||||
"content-length": "100"
|
||||
}
|
||||
|
||||
assert_signature_equal(
|
||||
|
@ -127,7 +127,7 @@ defmodule Pleroma.SignatureTest do
|
|||
|
||||
assert Signature.sign(
|
||||
user,
|
||||
%{host: "test.test", "content-length": 100}
|
||||
%{host: "test.test", "content-length": "100"}
|
||||
) == {:error, []}
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue