Skip to content

Commit 7e332d5

Browse files
committed
Use Random.categoryName() and Random.countryName().
Addressed to #300 No functional changes.
1 parent cf895bb commit 7e332d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/groovy/ru/mystamps/web/service/CategoryServiceImplTest.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class CategoryServiceImplTest extends Specification {
4646

4747
def setup() {
4848
form = new AddCategoryForm()
49-
form.setName('Any category name')
49+
form.setName(Random.categoryName())
5050
form.setNameRu('Любое название категории')
5151
}
5252

src/test/groovy/ru/mystamps/web/service/CountryServiceImplTest.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class CountryServiceImplTest extends Specification {
4545

4646
def setup() {
4747
form = new AddCountryForm()
48-
form.setName('Any country name')
48+
form.setName(Random.countryName())
4949
form.setNameRu('Любое название страны')
5050
}
5151

0 commit comments

Comments
 (0)