mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-30 12:16:14 -06:00
Move webpush.MockSender and noopSender into testrig
This commit is contained in:
parent
d89f3ec8f1
commit
b3aab4f0de
40 changed files with 66 additions and 128 deletions
|
|
@ -39,7 +39,6 @@ import (
|
|||
"github.com/superseriousbusiness/gotosocial/internal/processing"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/state"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/storage"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/webpush"
|
||||
"github.com/superseriousbusiness/gotosocial/testrig"
|
||||
)
|
||||
|
||||
|
|
@ -96,7 +95,7 @@ func (suite *AuthStandardTestSuite) SetupTest() {
|
|||
&suite.state,
|
||||
suite.federator,
|
||||
suite.emailSender,
|
||||
webpush.NewNoopSender(),
|
||||
testrig.NewNoopWebPushSender(),
|
||||
suite.mediaManager,
|
||||
)
|
||||
suite.authModule = auth.New(suite.db, suite.processor, suite.idp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue