diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-03-03 19:24:14 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-03-03 19:24:14 +0300 |
commit | 884d9710b209cc9981c7de61d4e95fd26cd83820 (patch) | |
tree | d46908da7a856f8493caf2388011c7cb70df1e30 /test/pool | |
parent | 23f407bf093723344e63eba6a63f5cd58aa7313e (diff) | |
download | pleroma-884d9710b209cc9981c7de61d4e95fd26cd83820.tar.gz pleroma-884d9710b209cc9981c7de61d4e95fd26cd83820.zip |
refactoring for gun api modules
Diffstat (limited to 'test/pool')
-rw-r--r-- | test/pool/connections_test.exs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/pool/connections_test.exs b/test/pool/connections_test.exs index a084f31b9..31dd5f6fa 100644 --- a/test/pool/connections_test.exs +++ b/test/pool/connections_test.exs @@ -6,12 +6,11 @@ defmodule Pleroma.Pool.ConnectionsTest do use ExUnit.Case use Pleroma.Tests.Helpers import ExUnit.CaptureLog - alias Pleroma.Gun.API alias Pleroma.Gun.Conn alias Pleroma.Pool.Connections setup_all do - {:ok, _} = Registry.start_link(keys: :unique, name: API.Mock) + {:ok, _} = Registry.start_link(keys: :unique, name: Pleroma.GunMock) :ok end @@ -439,8 +438,8 @@ defmodule Pleroma.Pool.ConnectionsTest do describe "integration test" do @describetag :integration - clear_config(API) do - Pleroma.Config.put(API, Pleroma.Gun) + clear_config(Pleroma.Gun) do + Pleroma.Config.put(Pleroma.Gun, Pleroma.Gun.API) end test "opens connection and change owner", %{name: name} do |