Fix most tests that call SearchIndexWorker.
This commit is contained in:
parent
5208bd8a95
commit
5996bef7cd
15 changed files with 75 additions and 0 deletions
|
|
@ -20,6 +20,11 @@ defmodule Mix.Tasks.Pleroma.UserTest do
|
|||
import Mock
|
||||
import Pleroma.Factory
|
||||
|
||||
setup do
|
||||
Mox.stub_with(Pleroma.UnstubbedConfigMock, Pleroma.Config)
|
||||
:ok
|
||||
end
|
||||
|
||||
setup_all do
|
||||
Mix.shell(Mix.Shell.Process)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue