From d8a952af89ec2ee6a20a07330ea0718d8ccdaa60 Mon Sep 17 00:00:00 2001 From: Slava Semushin Date: Wed, 13 Mar 2024 09:30:18 +0700 Subject: [PATCH] refactor: remove unused TestObjects.createSeriesFullInfoDto() method Should be in b7a405120cd022294b44985592acf318ed2d3b72 commit. Part of #1668 --- .../ru/mystamps/web/service/TestObjects.java | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/src/test/java/ru/mystamps/web/service/TestObjects.java b/src/test/java/ru/mystamps/web/service/TestObjects.java index 0eeee5865..acc4e93de 100644 --- a/src/test/java/ru/mystamps/web/service/TestObjects.java +++ b/src/test/java/ru/mystamps/web/service/TestObjects.java @@ -29,7 +29,6 @@ import ru.mystamps.web.feature.image.ImageDto; import ru.mystamps.web.feature.image.ImageInfoDto; import ru.mystamps.web.feature.participant.EntityWithIdDto; -import ru.mystamps.web.feature.series.SeriesFullInfoDto; import ru.mystamps.web.feature.series.SeriesInfoDto; import ru.mystamps.web.feature.series.importing.ImportRequestFullInfo; import ru.mystamps.web.feature.series.importing.sale.SeriesSaleParsedDataDto; @@ -130,28 +129,6 @@ public static SeriesInfoDto createSeriesInfoDto() { ); } - public static SeriesFullInfoDto createSeriesFullInfoDto() { - SeriesInfoDto info = createSeriesInfoDto(); - return new SeriesFullInfoDto( - info.getId(), - info.getCategory(), - info.getCountry(), - Random.dayOfMonth(), - Random.monthOfYear(), - info.getReleaseYear(), - info.getQuantity(), - info.getPerforated(), - "this is a full info", - Random.userId(), - nullOr(Random.price()), - nullOr(Random.price()), - nullOr(Random.price()), - nullOr(Random.price()), - nullOr(Random.price()), - nullOr(Random.price()) - ); - } - public static CollectionInfoDto createCollectionInfoDto() { return new CollectionInfoDto(Random.id(), Random.collectionSlug(), "Test User"); }