Fix most tests that call SearchIndexWorker.

This commit is contained in:
Lain Soykaf 2023-11-12 15:54:16 +04:00
commit 5996bef7cd
15 changed files with 75 additions and 0 deletions

View file

@ -21,6 +21,11 @@ defmodule Pleroma.NotificationTest do
alias Pleroma.Web.Push
alias Pleroma.Web.Streamer
setup do
Mox.stub_with(Pleroma.UnstubbedConfigMock, Pleroma.Config)
:ok
end
describe "create_notifications" do
test "never returns nil" do
user = insert(:user)