Fixed: Parse search results using edition titles also

Fixes #1154
This commit is contained in:
ta264
2021-07-29 21:28:04 +01:00
parent 9150f6889f
commit 4541d3d3b0
6 changed files with 151 additions and 4 deletions
@@ -29,8 +29,11 @@ namespace NzbDrone.Core.Test.ParserTests
private void GivenSearchCriteria(string authorName, string bookTitle)
{
_author.Name = authorName;
var a = new Book();
a.Title = bookTitle;
var a = new Book
{
Title = bookTitle,
Editions = new List<Edition> { new Edition { Title = bookTitle, Monitored = true } }
};
_books.Add(a);
}