mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-24 22:35:39 -04:00
New: Use Goodreads directly, allow multiple editions of a book (new DB required)
This commit is contained in:
@@ -37,7 +37,7 @@ namespace NzbDrone.Core.Test.DecisionEngineTests
|
||||
|
||||
_trackFiles = Builder<BookFile>.CreateListOfSize(3)
|
||||
.All()
|
||||
.With(t => t.BookId = _albums.First().Id)
|
||||
.With(t => t.EditionId = _albums.First().Id)
|
||||
.BuildList();
|
||||
|
||||
Mocker.GetMock<IMediaFileService>()
|
||||
|
||||
+2
-2
@@ -36,7 +36,7 @@ namespace NzbDrone.Core.Test.DecisionEngineTests.RssSync
|
||||
Path = "/My.Artist.S01E01.mp3",
|
||||
Quality = new QualityModel(Quality.FLAC, new Revision(version: 1)),
|
||||
DateAdded = DateTime.Now,
|
||||
BookId = 1
|
||||
EditionId = 1
|
||||
};
|
||||
_secondFile =
|
||||
new BookFile
|
||||
@@ -45,7 +45,7 @@ namespace NzbDrone.Core.Test.DecisionEngineTests.RssSync
|
||||
Path = "/My.Artist.S01E02.mp3",
|
||||
Quality = new QualityModel(Quality.FLAC, new Revision(version: 1)),
|
||||
DateAdded = DateTime.Now,
|
||||
BookId = 2
|
||||
EditionId = 2
|
||||
};
|
||||
|
||||
var singleAlbumList = new List<Book> { new Book { Id = 1 } };
|
||||
|
||||
Reference in New Issue
Block a user