Skip to content

Commit

Permalink
refactor: remove unused TestObjects.createSeriesFullInfoDto() method
Browse files Browse the repository at this point in the history
Should be in b7a4051 commit.

Part of #1668
  • Loading branch information
php-coder committed Mar 13, 2024
1 parent 8a50b2a commit d8a952a
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/test/java/ru/mystamps/web/service/TestObjects.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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");
}
Expand Down

0 comments on commit d8a952a

Please sign in to comment.