From 814e44b7e4f43432f1f8230f73ad57d3e0e996cb Mon Sep 17 00:00:00 2001 From: ta264 Date: Thu, 25 Jul 2019 21:43:02 +0100 Subject: [PATCH] Fixed: Actually refresh media covers --- .../MusicTests/RefreshArtistServiceFixture.cs | 2 ++ src/NzbDrone.Core/Music/RefreshArtistService.cs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Core.Test/MusicTests/RefreshArtistServiceFixture.cs b/src/NzbDrone.Core.Test/MusicTests/RefreshArtistServiceFixture.cs index dc55a6ea3..be648afb6 100644 --- a/src/NzbDrone.Core.Test/MusicTests/RefreshArtistServiceFixture.cs +++ b/src/NzbDrone.Core.Test/MusicTests/RefreshArtistServiceFixture.cs @@ -106,6 +106,7 @@ namespace NzbDrone.Core.Test.MusicTests Subject.Execute(new RefreshArtistCommand(_artist.Id)); VerifyEventNotPublished(); + VerifyEventPublished(); } [Test] @@ -125,6 +126,7 @@ namespace NzbDrone.Core.Test.MusicTests Subject.Execute(new RefreshArtistCommand(_artist.Id)); VerifyEventPublished(); + VerifyEventPublished(); } [Test] diff --git a/src/NzbDrone.Core/Music/RefreshArtistService.cs b/src/NzbDrone.Core/Music/RefreshArtistService.cs index 2874a1bcb..4ebceec85 100644 --- a/src/NzbDrone.Core/Music/RefreshArtistService.cs +++ b/src/NzbDrone.Core/Music/RefreshArtistService.cs @@ -245,7 +245,7 @@ namespace NzbDrone.Core.Music _eventAggregator.PublishEvent(new ArtistUpdatedEvent(entity)); } - protected virtual void PublishRefreshCompleteEvent(Artist entity) + protected override void PublishRefreshCompleteEvent(Artist entity) { _eventAggregator.PublishEvent(new ArtistRefreshCompleteEvent(entity)); }