chore: added TestPoller.Stop

This commit is contained in:
abelith committed 2026-10-08 16:46:34 +03:00
1 parent d7ef71dc7c
commit c4e06aeecd
1 file changed
+4
+4
View File
@@ -197,6 +197,10 @@ func (tp *TestPoller) Start(_ context.Context) (<-chan model.Update, error) {
return tp.ch, nil
}
func (tp *TestPoller) Stop(_ context.Context) error {
return nil
}
func WithAddress(addr string) WebhookOption {
return newWhOption(func(opts *webhookOptions) {
opts.addr = addr