Skip to content

Commit

Permalink
Update _entityClass_ResourceIT.java.ejs
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima authored Feb 6, 2024
1 parent 2a8729e commit ba889e5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -664,12 +664,14 @@ _%>
<%= persistInstance %> = createEntity(<% if (databaseTypeSql) { %>em<% } %>);
<%_ } _%>
}
<%_ if (newIntegrationTestSample) { _%>

@AfterEach
@Transactional
public void tearDown() {
<%- persistInstance %>IntegrationTestSample.tearDown();
}
<%_ } _%>
<%_ if (!readOnly) { _%>

@Test<%= transactionalAnnotation %>
Expand Down

0 comments on commit ba889e5

Please sign in to comment.