|
19 | 19 |
|
20 | 20 | import ru.mystamps.web.common.EntityWithParentDto;
|
21 | 21 | import ru.mystamps.web.common.LinkEntityDto;
|
22 |
| -import ru.mystamps.web.common.SlugUtils; |
23 | 22 | import ru.mystamps.web.feature.account.AddUserDbDto;
|
24 | 23 | import ru.mystamps.web.feature.account.UserDetails;
|
25 | 24 | import ru.mystamps.web.feature.account.UsersActivationDto;
|
26 | 25 | import ru.mystamps.web.feature.account.UsersActivationFullDto;
|
27 | 26 | import ru.mystamps.web.feature.image.ImageDto;
|
28 | 27 | import ru.mystamps.web.feature.image.ImageInfoDto;
|
29 | 28 | import ru.mystamps.web.feature.participant.EntityWithIdDto;
|
30 |
| -import ru.mystamps.web.feature.series.SeriesInfoDto; |
31 | 29 | import ru.mystamps.web.feature.series.importing.sale.SeriesSaleParsedDataDto;
|
32 | 30 | import ru.mystamps.web.feature.series.importing.sale.SeriesSalesParsedDataDbDto;
|
33 | 31 | import ru.mystamps.web.feature.site.SuspiciousActivityDto;
|
@@ -112,20 +110,6 @@ public static ImageDto createImageDto() {
|
112 | 110 | return new ImageDto("PNG", "test".getBytes(StandardCharsets.UTF_8));
|
113 | 111 | }
|
114 | 112 |
|
115 |
| - public static SeriesInfoDto createSeriesInfoDto() { |
116 |
| - String category = Random.categoryName(); |
117 |
| - String country = Random.countryName(); |
118 |
| - |
119 |
| - return new SeriesInfoDto( |
120 |
| - Random.id(), |
121 |
| - new LinkEntityDto(Random.id(), SlugUtils.slugify(category), category), |
122 |
| - new LinkEntityDto(Random.id(), SlugUtils.slugify(country), country), |
123 |
| - Random.issueYear(), |
124 |
| - 16, |
125 |
| - Random.perforated() |
126 |
| - ); |
127 |
| - } |
128 |
| - |
129 | 113 | public static SuspiciousActivityDto createSuspiciousActivityDto() {
|
130 | 114 | return new SuspiciousActivityDto(
|
131 | 115 | TEST_ACTIVITY_TYPE,
|
|
0 commit comments