don't use async with global mocks

This commit is contained in:
Alexander Strizhakov 2020-05-13 09:29:41 +03:00
parent 12635bc156
commit 2c356a4bac
No known key found for this signature in database
GPG Key ID: 022896A53AEF1381
1 changed files with 1 additions and 1 deletions

View File

@ -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)