PR comments x2

This commit is contained in:
Joseph Milazzo 2025-07-05 16:17:04 -05:00
parent a0f99dce4c
commit cb37284022
2 changed files with 1 additions and 3 deletions

View file

@ -151,11 +151,10 @@ public class BookSortTitlePrefixHelperTests
[Theory] [Theory]
[InlineData("三国演义", "三国演义")] // Chinese - no processing due to CJK detection [InlineData("三国演义", "三国演义")] // Chinese - no processing due to CJK detection
[InlineData("こんにちは世界", "こんにちは世界")] // Japanese Hiragana
[InlineData("カタカナ", "カタカナ")] // Japanese Katakana
[InlineData("한국어", "한국어")] // Korean - not in CJK range, would be processed normally [InlineData("한국어", "한국어")] // Korean - not in CJK range, would be processed normally
public void TestCjkLanguages(string inputString, string expected) public void TestCjkLanguages(string inputString, string expected)
{ {
// NOTE: These don't do anything, I am waiting for user input on if these are needed
Assert.Equal(expected, BookSortTitlePrefixHelper.GetSortTitle(inputString)); Assert.Equal(expected, BookSortTitlePrefixHelper.GetSortTitle(inputString));
} }

View file

@ -980,7 +980,6 @@ public class ScannerServiceTests : AbstractDbTest
var library = await _scannerHelper.GenerateScannerData(testcase); var library = await _scannerHelper.GenerateScannerData(testcase);
// Disable metadata
library.RemovePrefixForSortName = true; library.RemovePrefixForSortName = true;
UnitOfWork.LibraryRepository.Update(library); UnitOfWork.LibraryRepository.Update(library);
await UnitOfWork.CommitAsync(); await UnitOfWork.CommitAsync();