Skip to content

Commit

Permalink
test: remove tests for SeriesSalesServiceImpl class
Browse files Browse the repository at this point in the history
Part of #1668
  • Loading branch information
php-coder committed Mar 13, 2024
1 parent 9c18541 commit 96db597
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 197 deletions.

This file was deleted.

21 changes: 0 additions & 21 deletions src/test/java/ru/mystamps/web/service/TestObjects.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
import ru.mystamps.web.feature.series.importing.RawParsedDataDto;
import ru.mystamps.web.feature.series.importing.sale.SeriesSaleParsedDataDto;
import ru.mystamps.web.feature.series.importing.sale.SeriesSalesParsedDataDbDto;
import ru.mystamps.web.feature.series.sale.SeriesSaleDto;
import ru.mystamps.web.feature.site.SuspiciousActivityDto;
import ru.mystamps.web.tests.Random;

Expand All @@ -66,7 +65,6 @@ public final class TestObjects {
protected static final String TEST_PASSWORD = "secret";

private static final String TEST_NAME = "Test Name";
private static final String TEST_URL = "test.example.org";

private static final String TEST_ENTITY_NAME = TEST_NAME;
private static final String TEST_ENTITY_SLUG = "test-slug";
Expand Down Expand Up @@ -209,25 +207,6 @@ public static SuspiciousActivityDto createSuspiciousActivityDto() {
);
}

/**
* @author Sergey Chechenev
*/
public static SeriesSaleDto createSeriesSaleDto() {
return new SeriesSaleDto(
Random.date(),
TEST_NAME,
TEST_URL,
TEST_NAME,
TEST_URL,
TEST_URL,
Random.price(),
Random.currency(),
Random.price(),
Random.currency(),
nullOr(Random.seriesCondition())
);
}

public static EntityWithIdDto createEntityWithIdDto() {
return new EntityWithIdDto(Random.id(), TEST_ENTITY_NAME);
}
Expand Down

0 comments on commit 96db597

Please sign in to comment.