mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-26 15:52:42 +00:00
Fixed: Test for get_file_by_album Failing
This commit is contained in:
parent
390c79793e
commit
61cea37f05
1 changed files with 10 additions and 1 deletions
|
@ -105,7 +105,16 @@ public void get_files_by_album()
|
|||
VerifyEagerLoaded(files);
|
||||
|
||||
files.Should().OnlyContain(c => c.AlbumId == album.Id);
|
||||
files.Should().HaveCount(5);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void get_files_by_album_should_only_return_tracks_for_monitored_releases()
|
||||
{
|
||||
VerifyData();
|
||||
var files = Subject.GetFilesByAlbum(album.Id);
|
||||
VerifyEagerLoaded(files);
|
||||
|
||||
files.Should().HaveCount(4);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
|
Loading…
Reference in a new issue