don't use async with global mocks
This commit is contained in:
parent
12635bc156
commit
2c356a4bac
|
@ -3,7 +3,7 @@
|
||||||
# SPDX-License-Identifier: AGPL-3.0-only
|
# SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
defmodule Pleroma.Web.RelMeTest do
|
defmodule Pleroma.Web.RelMeTest do
|
||||||
use ExUnit.Case, async: true
|
use ExUnit.Case
|
||||||
|
|
||||||
setup_all do
|
setup_all do
|
||||||
Tesla.Mock.mock_global(fn env -> apply(HttpRequestMock, :request, [env]) end)
|
Tesla.Mock.mock_global(fn env -> apply(HttpRequestMock, :request, [env]) end)
|
||||||
|
|
Loading…
Reference in New Issue