mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-04-24 22:07:52 -04:00
refactoring for gun api modules
This commit is contained in:
parent
23f407bf09
commit
884d9710b2
12 changed files with 104 additions and 107 deletions
|
@ -12,7 +12,7 @@ defmodule Pleroma.HTTP.AdapterHelper.GunTest do
|
|||
alias Pleroma.Pool.Connections
|
||||
|
||||
setup_all do
|
||||
{:ok, _} = Registry.start_link(keys: :unique, name: Pleroma.Gun.API.Mock)
|
||||
{:ok, _} = Registry.start_link(keys: :unique, name: Pleroma.GunMock)
|
||||
:ok
|
||||
end
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ defmodule Pleroma.HTTP.ConnectionTest do
|
|||
alias Pleroma.HTTP.Connection
|
||||
|
||||
setup_all do
|
||||
{:ok, _} = Registry.start_link(keys: :unique, name: Pleroma.Gun.API.Mock)
|
||||
{:ok, _} = Registry.start_link(keys: :unique, name: Pleroma.GunMock)
|
||||
:ok
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue