From 4d7a762ee8e7d9f4ba6fc33d55926702f2c9a8d4 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Sat, 29 Jul 2023 14:59:47 +0300 Subject: [PATCH] Fix book tests --- .../MetadataSource/BookInfo/BookInfoProxySearchFixture.cs | 2 +- .../MetadataSource/Goodreads/GoodreadsProxySearchFixture.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core.Test/MetadataSource/BookInfo/BookInfoProxySearchFixture.cs b/src/NzbDrone.Core.Test/MetadataSource/BookInfo/BookInfoProxySearchFixture.cs index 2d3c8b05af..6489756c2e 100644 --- a/src/NzbDrone.Core.Test/MetadataSource/BookInfo/BookInfoProxySearchFixture.cs +++ b/src/NzbDrone.Core.Test/MetadataSource/BookInfo/BookInfoProxySearchFixture.cs @@ -54,7 +54,7 @@ public void successful_author_search(string title, string expected) ExceptionVerification.IgnoreWarns(); } - [TestCase("Harry Potter and the sorcerer's stone", null, "Harry Potter and the Sorcerer's Stone (Harry Potter, Book 1): By J.K. Rowling | The Complete Summary & Analysis")] + [TestCase("Harry Potter and the sorcerer's stone a summary of the novel", null, "Harry Potter and the Sorcerer's Stone (Book 1): A Summary Of The Novel")] [TestCase("edition:3", null, "Harry Potter and the Sorcerer's Stone")] [TestCase("edition: 3", null, "Harry Potter and the Sorcerer's Stone")] [TestCase("asin:B0192CTMYG", null, "Harry Potter and the Sorcerer's Stone")] diff --git a/src/NzbDrone.Core.Test/MetadataSource/Goodreads/GoodreadsProxySearchFixture.cs b/src/NzbDrone.Core.Test/MetadataSource/Goodreads/GoodreadsProxySearchFixture.cs index 1866624fd8..5137aa3409 100644 --- a/src/NzbDrone.Core.Test/MetadataSource/Goodreads/GoodreadsProxySearchFixture.cs +++ b/src/NzbDrone.Core.Test/MetadataSource/Goodreads/GoodreadsProxySearchFixture.cs @@ -38,7 +38,7 @@ public void successful_author_search(string title, int expected) ExceptionVerification.IgnoreWarns(); } - [TestCase("Harry Potter and the sorcerer's stone", 27425945)] + [TestCase("Harry Potter and the sorcerer's stone a summary of the novel", 23314781)] [TestCase("B0192CTMYG", 61209488)] [TestCase("9780439554930", 48517161)] public void successful_book_search(string title, int expected)