Skip to content

Commit 4eb81af

Browse files
committed
TestObjects: propagate Random.userId().
Addressed to #300 No functional changes.
1 parent 62c8a07 commit 4eb81af

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/java/ru/mystamps/web/service/TestObjects.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,10 @@ public static AddUserDbDto createAddUserDbDto() {
8888
}
8989

9090
public static UserDetails createUserDetails() {
91-
final Integer anyId = 777;
9291
String collectionSlug = TEST_LOGIN;
9392

9493
return new UserDetails(
95-
anyId,
94+
Random.userId(),
9695
TEST_LOGIN,
9796
TEST_NAME,
9897
TEST_HASH,

0 commit comments

Comments
 (0)