mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-26 07:42:49 +00:00
Fixed: Actually refresh media covers
This commit is contained in:
parent
61b6572f61
commit
814e44b7e4
2 changed files with 3 additions and 1 deletions
|
@ -106,6 +106,7 @@ public void should_not_publish_artist_updated_event_if_metadata_not_updated()
|
|||
Subject.Execute(new RefreshArtistCommand(_artist.Id));
|
||||
|
||||
VerifyEventNotPublished<ArtistUpdatedEvent>();
|
||||
VerifyEventPublished<ArtistRefreshCompleteEvent>();
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
@ -125,6 +126,7 @@ public void should_publish_artist_updated_event_if_metadata_updated()
|
|||
Subject.Execute(new RefreshArtistCommand(_artist.Id));
|
||||
|
||||
VerifyEventPublished<ArtistUpdatedEvent>();
|
||||
VerifyEventPublished<ArtistRefreshCompleteEvent>();
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
|
|
@ -245,7 +245,7 @@ protected override void PublishEntityUpdatedEvent(Artist entity)
|
|||
_eventAggregator.PublishEvent(new ArtistUpdatedEvent(entity));
|
||||
}
|
||||
|
||||
protected virtual void PublishRefreshCompleteEvent(Artist entity)
|
||||
protected override void PublishRefreshCompleteEvent(Artist entity)
|
||||
{
|
||||
_eventAggregator.PublishEvent(new ArtistRefreshCompleteEvent(entity));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue