mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-17 21:25:39 -04:00
Fixed: Actually refresh media covers
This commit is contained in:
@@ -106,6 +106,7 @@ namespace NzbDrone.Core.Test.MusicTests
|
||||
Subject.Execute(new RefreshArtistCommand(_artist.Id));
|
||||
|
||||
VerifyEventNotPublished<ArtistUpdatedEvent>();
|
||||
VerifyEventPublished<ArtistRefreshCompleteEvent>();
|
||||
}
|
||||
|
||||
[Test]
|
||||
@@ -125,6 +126,7 @@ namespace NzbDrone.Core.Test.MusicTests
|
||||
Subject.Execute(new RefreshArtistCommand(_artist.Id));
|
||||
|
||||
VerifyEventPublished<ArtistUpdatedEvent>();
|
||||
VerifyEventPublished<ArtistRefreshCompleteEvent>();
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user