mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-11 05:07:30 -06:00
Add no-op push senders to most processor tests
This commit is contained in:
parent
0c92f9f0f3
commit
c9aa25b42b
34 changed files with 257 additions and 40 deletions
|
|
@ -34,6 +34,7 @@ import (
|
|||
"github.com/superseriousbusiness/gotosocial/internal/oauth"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/state"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/typeutils"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/webpush"
|
||||
"github.com/superseriousbusiness/gotosocial/testrig"
|
||||
)
|
||||
|
||||
|
|
@ -95,6 +96,7 @@ func (suite *ExportsTestSuite) SetupTest() {
|
|||
&suite.state,
|
||||
federator,
|
||||
testrig.NewEmailSender("../../../../web/template/", nil),
|
||||
webpush.NewNoopSender(),
|
||||
mediaManager,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue