updating clear_config

This commit is contained in:
Alexander Strizhakov 2020-03-20 20:58:47 +03:00
commit 7f9b5284fa
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
3 changed files with 3 additions and 8 deletions

View file

@ -28,9 +28,7 @@ defmodule Pleroma.HTTP.AdapterHelper.GunTest do
end
describe "options/1" do
clear_config([:http, :adapter]) do
Config.put([:http, :adapter], a: 1, b: 2)
end
setup do: clear_config([:http, :adapter], a: 1, b: 2)
test "https url with default port" do
uri = URI.parse("https://example.com")