diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-05-13 09:20:25 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-05-13 11:38:22 +0300 |
commit | 12635bc15626dd7d2d4a02b9c8d763687a0d34ce (patch) | |
tree | c0c7870ef24f831f557cc91b1c08dc05fe9cdc5f /test/web/push/impl_test.exs | |
parent | b962b24e6f984dbec0089c80b22fac8f4f9c1fa4 (diff) | |
download | pleroma-12635bc15626dd7d2d4a02b9c8d763687a0d34ce.tar.gz |
don't use global mocks in setup callbacks
Diffstat (limited to 'test/web/push/impl_test.exs')
-rw-r--r-- | test/web/push/impl_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/push/impl_test.exs b/test/web/push/impl_test.exs index b855d72ba..57b35061a 100644 --- a/test/web/push/impl_test.exs +++ b/test/web/push/impl_test.exs @@ -13,8 +13,8 @@ defmodule Pleroma.Web.Push.ImplTest do import Pleroma.Factory - setup_all do - Tesla.Mock.mock_global(fn + setup do + Tesla.Mock.mock(fn %{method: :post, url: "https://example.com/example/1234"} -> %Tesla.Env{status: 200} |