Add no-op push senders to most processor tests

This commit is contained in:
Vyr Cossont 2024-11-30 12:32:35 -08:00
commit c9aa25b42b
34 changed files with 257 additions and 40 deletions

View file

@ -40,6 +40,7 @@ import (
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
"github.com/superseriousbusiness/gotosocial/internal/processing"
"github.com/superseriousbusiness/gotosocial/internal/subscriptions"
"github.com/superseriousbusiness/gotosocial/internal/webpush"
"github.com/superseriousbusiness/gotosocial/testrig"
)
@ -98,6 +99,7 @@ func (suite *WebfingerGetTestSuite) funkifyAccountDomain(host string, accountDom
testrig.NewTestMediaManager(&suite.state),
&suite.state,
suite.emailSender,
webpush.NewNoopSender(),
visibility.NewFilter(&suite.state),
interaction.NewFilter(&suite.state),
)