Don't test tls_options in adapter helper test.
This commit is contained in:
parent
afd378f84c
commit
e499275076
@ -21,7 +21,6 @@ defmodule Pleroma.HTTP.AdapterHelper.GunTest do
|
|||||||
|
|
||||||
opts = Gun.options([receive_conn: false], uri)
|
opts = Gun.options([receive_conn: false], uri)
|
||||||
assert opts[:certificates_verification]
|
assert opts[:certificates_verification]
|
||||||
assert opts[:tls_opts][:log_level] == :warning
|
|
||||||
end
|
end
|
||||||
|
|
||||||
test "https ipv4 with default port" do
|
test "https ipv4 with default port" do
|
||||||
@ -29,7 +28,6 @@ defmodule Pleroma.HTTP.AdapterHelper.GunTest do
|
|||||||
|
|
||||||
opts = Gun.options([receive_conn: false], uri)
|
opts = Gun.options([receive_conn: false], uri)
|
||||||
assert opts[:certificates_verification]
|
assert opts[:certificates_verification]
|
||||||
assert opts[:tls_opts][:log_level] == :warning
|
|
||||||
end
|
end
|
||||||
|
|
||||||
test "https ipv6 with default port" do
|
test "https ipv6 with default port" do
|
||||||
@ -37,7 +35,6 @@ defmodule Pleroma.HTTP.AdapterHelper.GunTest do
|
|||||||
|
|
||||||
opts = Gun.options([receive_conn: false], uri)
|
opts = Gun.options([receive_conn: false], uri)
|
||||||
assert opts[:certificates_verification]
|
assert opts[:certificates_verification]
|
||||||
assert opts[:tls_opts][:log_level] == :warning
|
|
||||||
end
|
end
|
||||||
|
|
||||||
test "https url with non standart port" do
|
test "https url with non standart port" do
|
||||||
|
Loading…
Reference in New Issue
Block a user