We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 381e97c + b57dc7d commit 5977d4bCopy full SHA for 5977d4b
src/test/java/io/hexlet/blog/util/ModelGenerator.java
@@ -29,7 +29,7 @@ private void init() {
29
.supply(Select.field(Post::getBody), () -> faker.gameOfThrones().quote()).toModel();
30
31
postCommentModel = Instancio.of(PostComment.class).ignore(Select.field(PostComment::getId))
32
- .supply(Select.field(Post::getBody), () -> faker.gameOfThrones().quote()).toModel();
+ .supply(Select.field(PostComment::getBody), () -> faker.gameOfThrones().quote()).toModel();
33
34
userModel = Instancio.of(User.class).ignore(Select.field(User::getId)).ignore(Select.field(User::getPosts))
35
.supply(Select.field(User::getEmail), () -> faker.internet().emailAddress()).toModel();
0 commit comments