diff options
author | Maksim Pechnikov <parallel588@gmail.com> | 2018-12-11 15:31:52 +0300 |
---|---|---|
committer | Maksim Pechnikov <parallel588@gmail.com> | 2018-12-12 09:09:19 +0300 |
commit | 89b3729afa130a62a47ed6372350ebfc5acb4064 (patch) | |
tree | 89fba8fe2ed33bb25ef554f67e4659e255f81709 /test/web/http_sigs | |
parent | 2999a08e3590c43c623730b0cbf6b93045ac08c1 (diff) | |
download | pleroma-89b3729afa130a62a47ed6372350ebfc5acb4064.tar.gz pleroma-89b3729afa130a62a47ed6372350ebfc5acb4064.zip |
fix warnings
Diffstat (limited to 'test/web/http_sigs')
-rw-r--r-- | test/web/http_sigs/http_sig_test.exs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/web/http_sigs/http_sig_test.exs b/test/web/http_sigs/http_sig_test.exs index 2e189d583..74d86a9e1 100644 --- a/test/web/http_sigs/http_sig_test.exs +++ b/test/web/http_sigs/http_sig_test.exs @@ -11,9 +11,6 @@ defmodule Pleroma.Web.HTTPSignaturesTest do :ok end - @private_key hd(:public_key.pem_decode(File.read!("test/web/http_sigs/priv.key"))) - |> :public_key.pem_entry_decode() - @public_key hd(:public_key.pem_decode(File.read!("test/web/http_sigs/pub.key"))) |> :public_key.pem_entry_decode() @@ -26,8 +23,6 @@ defmodule Pleroma.Web.HTTPSignaturesTest do "content-length" => "18" } - @body "{\"hello\": \"world\"}" - @default_signature """ keyId="Test",algorithm="rsa-sha256",signature="jKyvPcxB4JbmYY4mByyBY7cZfNl4OW9HpFQlG7N4YcJPteKTu4MWCLyk+gIr0wDgqtLWf9NLpMAMimdfsH7FSWGfbMFSrsVTHNTk0rK3usrfFnti1dxsM4jl0kYJCKTGI/UWkqiaxwNiKqGcdlEDrTcUhhsFsOIo8VhddmZTZ8w=" """ |