Skip to content

Commit

Permalink
Update _persistClass_Test.java.ejs
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima authored Oct 29, 2023
1 parent e18e340 commit 0aaf1ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class <%= persistClass %>Test {
<%_ } _%>
<%_ } _%>

<%= persistInstance %>.set<%- relationship.propertyNameCapitalized %>(Collections.emptySet());
<%= persistInstance %>.set<%- relationship.propertyNameCapitalized %>(Set.of());
assertThat(<%= persistInstance %>.get<%- relationship.propertyNameCapitalized %>()).doesNotContain(<%= relationship.otherEntity.persistInstance %>Back);
<%_ if (relationship.otherRelationship && !relationship.ownerSide && !relationship.otherEntity.embedded) { _%>
<%_ if (relationship.otherRelationship.collection) { _%>
Expand Down

0 comments on commit 0aaf1ba

Please sign in to comment.