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 b08fc2f commit 3aa0c71
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ class <%= persistClass %>Test {
<%_ } else { _%>

<%= persistInstance %>.set<%- relationship.relationshipNameCapitalized %>(null);
assertThat(<%= persistInstance %>.get<%- relationship.relationshipNameCapitalized %>()).isNull);
assertThat(<%= persistInstance %>.get<%- relationship.relationshipNameCapitalized %>()).isNull();
<%_ } _%>
<%_ if (relationship.otherRelationship && !relationship.ownerSide) { _%>
<%_ if (relationship.otherRelationship.collection) { _%>
<%_ } else { _%>
assertThat(<%= relationship.otherEntity.persistInstance %>.get<%- relationship.otherRelationship.relationshipNameCapitalized %>()).isNull);
assertThat(<%= relationship.otherEntity.persistInstance %>.get<%- relationship.otherRelationship.relationshipNameCapitalized %>()).isNull();
<%_ } _%>
<%_ } _%>
}
Expand Down

0 comments on commit 3aa0c71

Please sign in to comment.