File tree 1 file changed +5
-1
lines changed
src/test/groovy/ru/mystamps/web/service
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ import spock.lang.Specification
26
26
27
27
import org.slf4j.helpers.NOPLogger
28
28
29
+ import org.springframework.context.ApplicationEventPublisher
30
+
29
31
import ru.mystamps.web.controller.dto.RequestImportForm
30
32
import ru.mystamps.web.Db.SeriesImportRequestStatus
31
33
import ru.mystamps.web.dao.dto.ImportRequestDto
@@ -41,6 +43,7 @@ class SeriesImportServiceImplTest extends Specification {
41
43
private final SeriesImportDao seriesImportDao = Mock ()
42
44
private final SeriesService seriesService = Mock ()
43
45
private final SeriesInfoExtractorService extractorService = Mock ()
46
+ private final ApplicationEventPublisher eventPublisher = Mock ()
44
47
45
48
private SeriesImportService service
46
49
private RequestImportForm form
@@ -49,7 +52,8 @@ class SeriesImportServiceImplTest extends Specification {
49
52
service = new SeriesImportServiceImpl (
50
53
NOPLogger . NOP_LOGGER ,
51
54
seriesImportDao, seriesService,
52
- extractorService
55
+ extractorService,
56
+ eventPublisher
53
57
)
54
58
form = new RequestImportForm ()
55
59
}
You can’t perform that action at this time.
0 commit comments