Image Handling in Epub Import/export
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user