From e2e8efb566c245eef7a704797c491d4a12c981a0 Mon Sep 17 00:00:00 2001 From: Lars Wegner Date: Fri, 6 Aug 2021 13:43:23 +0200 Subject: [PATCH] Applied review feedback correctly Signed-off-by: Lars Wegner --- .../bpa/repository/BPAProofTemplateRepositoryTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/repository/BPAProofTemplateRepositoryTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/repository/BPAProofTemplateRepositoryTest.java index e926dc7bd..b552319a4 100644 --- a/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/repository/BPAProofTemplateRepositoryTest.java +++ b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/repository/BPAProofTemplateRepositoryTest.java @@ -78,7 +78,6 @@ void testSavingAnEntity() { .createdAt(savedProofTemplate.get().getCreatedAt()) .build(); assertEquals(expectedProofTemplate, savedProofTemplate.get()); - assertEquals(0, repo.count()); } @Test @@ -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() {