chore: fix typo
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
83fc8c67dc
commit
ef0e97a245
|
@ -11,7 +11,7 @@ type Sonarr struct {
|
|||
publisher Publisher
|
||||
}
|
||||
|
||||
func NewSonaar(publisher Publisher) *Sonarr {
|
||||
func NewSonarr(publisher Publisher) *Sonarr {
|
||||
return &Sonarr{
|
||||
publisher: publisher,
|
||||
}
|
|
@ -36,7 +36,7 @@ func TestSonarr_Process(t *testing.T) {
|
|||
|
||||
payload := generateSonarrWebhookPayload(evType)
|
||||
|
||||
err := service.NewSonaar(publisher).Process(context.Background(), payload)
|
||||
err := service.NewSonarr(publisher).Process(context.Background(), payload)
|
||||
assert.NoError(t, err)
|
||||
require.Equal(t, len(payload.Episodes), publisher.PublishCallCount())
|
||||
for i, ep := range payload.Episodes {
|
||||
|
|
Reference in New Issue