Skip to content

Commit 5977d4b

Browse files
authored
Merge pull request #40 from Levasey/patch-1
Update ModelGenerator.java
2 parents 381e97c + b57dc7d commit 5977d4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/io/hexlet/blog/util/ModelGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ private void init() {
2929
.supply(Select.field(Post::getBody), () -> faker.gameOfThrones().quote()).toModel();
3030

3131
postCommentModel = Instancio.of(PostComment.class).ignore(Select.field(PostComment::getId))
32-
.supply(Select.field(Post::getBody), () -> faker.gameOfThrones().quote()).toModel();
32+
.supply(Select.field(PostComment::getBody), () -> faker.gameOfThrones().quote()).toModel();
3333

3434
userModel = Instancio.of(User.class).ignore(Select.field(User::getId)).ignore(Select.field(User::getPosts))
3535
.supply(Select.field(User::getEmail), () -> faker.internet().emailAddress()).toModel();

0 commit comments

Comments
 (0)