Skip to content

Commit

Permalink
refactor: remove unused TestObjects.createSeriesInGalleryDto() 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 79d7fbb commit 8a50b2a
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/test/java/ru/mystamps/web/service/TestObjects.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
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.SeriesInGalleryDto;
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 @@ -131,20 +130,6 @@ public static SeriesInfoDto createSeriesInfoDto() {
);
}

public static SeriesInGalleryDto createSeriesInGalleryDto() {
Integer numberOfImages = 1;

return new SeriesInGalleryDto(
Random.id(),
nullOr(Random.issueYear()),
Random.quantity(),
Random.perforated(),
Random.id(),
numberOfImages,
Random.categoryName()
);
}

public static SeriesFullInfoDto createSeriesFullInfoDto() {
SeriesInfoDto info = createSeriesInfoDto();
return new SeriesFullInfoDto(
Expand Down

0 comments on commit 8a50b2a

Please sign in to comment.