|
|
|
@ -62,9 +62,9 @@ namespace NzbDrone.Core.Test.MusicTests.AlbumMonitoredServiceTests
|
|
|
|
|
[Test]
|
|
|
|
|
public void should_be_able_to_monitor_albums_when_passed_in_artist()
|
|
|
|
|
{
|
|
|
|
|
_artist.Albums.Add(_albums.First());
|
|
|
|
|
var albumsToMonitor = new List<string>{_albums.First().ForeignAlbumId};
|
|
|
|
|
|
|
|
|
|
Subject.SetAlbumMonitoredStatus(_artist, new MonitoringOptions { Monitored = true });
|
|
|
|
|
Subject.SetAlbumMonitoredStatus(_artist, new MonitoringOptions { Monitored = true, AlbumsToMonitor = albumsToMonitor });
|
|
|
|
|
|
|
|
|
|
Mocker.GetMock<IArtistService>()
|
|
|
|
|
.Verify(v => v.UpdateArtist(It.IsAny<Artist>()), Times.Once());
|
|
|
|
|