Skip to content

Commit

Permalink
Merge pull request #2 from pmverma/pmverma-patch-1
Browse files Browse the repository at this point in the history
Corrected number of times called for save
  • Loading branch information
pmverma authored Apr 30, 2019
2 parents ab32f7a + d862943 commit 87e8a8f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ _%>
<%_ if (searchEngine === 'elasticsearch') { _%>

// Validate the <%= entityClass %> in Elasticsearch
verify(mock<%= entityClass %>SearchRepository, times(0)).save(<%= asEntity(entityInstance) %>);
verify(mock<%= entityClass %>SearchRepository, times(2)).save(<%= asEntity(entityInstance) %>);
<%_ } _%>
}
<%_ } _%>
Expand Down

0 comments on commit 87e8a8f

Please sign in to comment.