mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
New: Update DB to store all releases for an album (#517)
* New: Store all releases for an album and track artists * Add Overview, links and release date by release * Tidy up * Fix metadata refresh errors following musicbrainz edits
This commit is contained in:
@@ -11,6 +11,7 @@ using NzbDrone.Core.Test.Framework;
|
||||
using NzbDrone.Core.Music;
|
||||
using NzbDrone.Test.Common;
|
||||
using FizzWare.NBuilder;
|
||||
using Marr.Data;
|
||||
|
||||
namespace NzbDrone.Core.Test.DecisionEngineTests
|
||||
{
|
||||
@@ -233,7 +234,7 @@ namespace NzbDrone.Core.Test.DecisionEngineTests
|
||||
var albums = Builder<Album>.CreateListOfSize(2)
|
||||
.All()
|
||||
.With(v => v.ArtistId, artist.Id)
|
||||
.With(v => v.Artist, artist)
|
||||
.With(v => v.Artist, new LazyLoaded<Artist>(artist))
|
||||
.BuildList();
|
||||
|
||||
var criteria = new ArtistSearchCriteria { Albums = albums.Take(1).ToList()};
|
||||
|
||||
Reference in New Issue
Block a user