X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=test%2Fweb%2Fpush%2Fimpl_test.exs;h=2acd0939fa71c3c4951cf871ed6b287f1cfda088;hb=da550be066a15108ceef7874c3b2549c049a7f88;hp=2fc3e73b5c9e8a6fc301876649256fa62b0c207d;hpb=7803a85d2ced092fbd8e0f1bde0944bd27f8d649;p=akkoma diff --git a/test/web/push/impl_test.exs b/test/web/push/impl_test.exs index 2fc3e73b5..2acd0939f 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}