Skip to content

Commit d8a952a

Browse files
committed
refactor: remove unused TestObjects.createSeriesFullInfoDto() method
Should be in b7a4051 commit. Part of #1668
1 parent 8a50b2a commit d8a952a

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

Diff for: src/test/java/ru/mystamps/web/service/TestObjects.java

-23
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
import ru.mystamps.web.feature.image.ImageDto;
3030
import ru.mystamps.web.feature.image.ImageInfoDto;
3131
import ru.mystamps.web.feature.participant.EntityWithIdDto;
32-
import ru.mystamps.web.feature.series.SeriesFullInfoDto;
3332
import ru.mystamps.web.feature.series.SeriesInfoDto;
3433
import ru.mystamps.web.feature.series.importing.ImportRequestFullInfo;
3534
import ru.mystamps.web.feature.series.importing.sale.SeriesSaleParsedDataDto;
@@ -130,28 +129,6 @@ public static SeriesInfoDto createSeriesInfoDto() {
130129
);
131130
}
132131

133-
public static SeriesFullInfoDto createSeriesFullInfoDto() {
134-
SeriesInfoDto info = createSeriesInfoDto();
135-
return new SeriesFullInfoDto(
136-
info.getId(),
137-
info.getCategory(),
138-
info.getCountry(),
139-
Random.dayOfMonth(),
140-
Random.monthOfYear(),
141-
info.getReleaseYear(),
142-
info.getQuantity(),
143-
info.getPerforated(),
144-
"this is a full info",
145-
Random.userId(),
146-
nullOr(Random.price()),
147-
nullOr(Random.price()),
148-
nullOr(Random.price()),
149-
nullOr(Random.price()),
150-
nullOr(Random.price()),
151-
nullOr(Random.price())
152-
);
153-
}
154-
155132
public static CollectionInfoDto createCollectionInfoDto() {
156133
return new CollectionInfoDto(Random.id(), Random.collectionSlug(), "Test User");
157134
}

0 commit comments

Comments
 (0)