Image Handling in Epub Import/export

This commit is contained in:
Stefan Hardegger
2025-08-08 14:50:49 +02:00
parent 379c8c170f
commit 5b3a9d183e
7 changed files with 524 additions and 18 deletions

View File

@@ -1,6 +1,7 @@
package com.storycove.service;
import com.storycove.entity.Story;
import com.storycove.repository.ReadingPositionRepository;
import com.storycove.repository.StoryRepository;
import com.storycove.repository.TagRepository;
import com.storycove.service.exception.ResourceNotFoundException;
@@ -28,6 +29,9 @@ class StoryServiceTest {
@Mock
private TagRepository tagRepository;
@Mock
private ReadingPositionRepository readingPositionRepository;
private StoryService storyService;
private Story testStory;
@@ -44,6 +48,7 @@ class StoryServiceTest {
storyService = new StoryService(
storyRepository,
tagRepository,
readingPositionRepository, // added for foreign key constraint handling
null, // authorService - not needed for reading progress tests
null, // tagService - not needed for reading progress tests
null, // seriesService - not needed for reading progress tests