|
21 | 21 | import io.qala.datagen.RandomShortApi; |
22 | 22 | import org.apache.commons.lang3.StringUtils; |
23 | 23 | import ru.mystamps.web.common.Currency; |
24 | | -import ru.mystamps.web.common.EntityWithParentDto; |
25 | 24 | import ru.mystamps.web.common.SlugUtils; |
26 | 25 | import ru.mystamps.web.feature.account.AccountValidation; |
27 | 26 | import ru.mystamps.web.feature.category.CategoryValidation; |
@@ -166,12 +165,6 @@ public static String participantName() { |
166 | 165 | ).english(); |
167 | 166 | } |
168 | 167 |
|
169 | | - // @todo #738 Random.participantGroupName(): make the generated names conform to |
170 | | - // the validation rules (when they will appear) |
171 | | - public static String participantGroupName() { |
172 | | - return name(); |
173 | | - } |
174 | | - |
175 | 168 | public static String sellerName() { |
176 | 169 | return participantName(); |
177 | 170 | } |
@@ -241,18 +234,6 @@ public static List<EntityWithIdDto> listOfEntityWithIdDto() { |
241 | 234 | ); |
242 | 235 | } |
243 | 236 |
|
244 | | - public static List<EntityWithParentDto> listOfEntityWithParentDto() { |
245 | | - final int minSize = 1; |
246 | | - final int maxSize = 3; |
247 | | - int size = integer(minSize, maxSize); |
248 | | - return sampleMultiple( |
249 | | - size, |
250 | | - TestObjects.createEntityWithParentDto(), |
251 | | - TestObjects.createEntityWithParentDto(), |
252 | | - TestObjects.createEntityWithParentDto() |
253 | | - ); |
254 | | - } |
255 | | - |
256 | 237 | public static String jsoupLocator() { |
257 | 238 | return sample("#id", "a[href]", "img[src$=.png]", "div#logo"); |
258 | 239 | } |
|
0 commit comments