Skip to content

Commit

Permalink
Merge pull request #364 from egvimo/fix/resource-test
Browse files Browse the repository at this point in the history
Add missing test annotations to patch IT
  • Loading branch information
sendilkumarn authored Jan 28, 2023
2 parents db7a386 + b23dfda commit 6d77761
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1334,6 +1334,7 @@ class <%= entityClass %>ResourceIT {
<%- include('/partials/it_patch_update.partial.kt.ejs', {fields: fieldsToIncludeInFullPatchTest, saveMethod, asEntity, callBlock, callListBlock, getPrimaryKeyValue}); -%>
}
@Test<%= transactionalAnnotation %>
@Throws(Exception::class)
fun patchNonExisting<%= entityClass %>() {
val databaseSizeBeforeUpdate = <%= entityInstance %>Repository.findAll()<%= callListBlock %>.size
Expand Down

0 comments on commit 6d77761

Please sign in to comment.