Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Applied review feedback correctly
Browse files Browse the repository at this point in the history
Signed-off-by: Lars Wegner <[email protected]>
  • Loading branch information
l-wegner committed Aug 6, 2021
1 parent 54489bc commit e2e8efb
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ void testSavingAnEntity() {
.createdAt(savedProofTemplate.get().getCreatedAt())
.build();
assertEquals(expectedProofTemplate, savedProofTemplate.get());
assertEquals(0, repo.count());
}

@Test
Expand Down Expand Up @@ -166,7 +165,7 @@ void testThatDeletionIsConstrainedToUnusedTemplates() {
assertTrue(proofRepository.findById(proof.getId()).isEmpty());
assertTrue(repo.findById(proofTemplateToSave.getId()).isPresent());
repo.deleteById(savedTemplate.getId());

assertEquals(0, repo.count());
}

private BPAProofTemplate.BPAProofTemplateBuilder getBpaProofTemplateBuilder() {
Expand Down

0 comments on commit e2e8efb

Please sign in to comment.