Skip to content

Commit

Permalink
Fix missing Web Push sender in test
Browse files Browse the repository at this point in the history
  • Loading branch information
VyrCossont committed Dec 1, 2024
1 parent 42e3282 commit 8da67c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/api/wellknown/webfinger/webfingerget_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import (
"github.com/superseriousbusiness/gotosocial/internal/filter/visibility"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
"github.com/superseriousbusiness/gotosocial/internal/processing"
"github.com/superseriousbusiness/gotosocial/internal/webpush"
"github.com/superseriousbusiness/gotosocial/testrig"
)

Expand Down Expand Up @@ -96,7 +97,7 @@ func (suite *WebfingerGetTestSuite) funkifyAccountDomain(host string, accountDom
testrig.NewTestMediaManager(&suite.state),
&suite.state,
suite.emailSender,
suite.webPushSender,
webpush.NewNoopSender(),
visibility.NewFilter(&suite.state),
interaction.NewFilter(&suite.state),
)
Expand Down

0 comments on commit 8da67c7

Please sign in to comment.