Fixing Database switching functionality.

This commit is contained in:
Stefan Hardegger
2025-08-21 08:54:28 +02:00
parent 4ee5fa2330
commit 87a4999ffe
17 changed files with 1743 additions and 246 deletions

View File

@@ -44,8 +44,8 @@ class AuthorServiceTest {
testAuthor.setId(testId);
testAuthor.setNotes("Test notes");
// Initialize service with null TypesenseService and LibraryAwareService (which is allowed for tests)
authorService = new AuthorService(authorRepository, null, null);
// Initialize service with null TypesenseService (which is allowed for tests)
authorService = new AuthorService(authorRepository, null);
}
@Test

View File

@@ -53,8 +53,7 @@ class StoryServiceTest {
null, // tagService - not needed for reading progress tests
null, // seriesService - not needed for reading progress tests
null, // sanitizationService - not needed for reading progress tests
null, // typesenseService - will test both with and without
null // libraryAwareService - not needed for these tests
null // typesenseService - will test both with and without
);
}