From f1c1f414e2ac1a9db80f0bf6960cf7a2b71ee6bb Mon Sep 17 00:00:00 2001 From: OrDTesters Date: Thu, 19 Mar 2020 19:51:57 -0500 Subject: [PATCH] #225 - Delete licenses after test. Before this change tests remaining in the test database could adversely affect later tests. Original pull request: #226. --- .../envers/repository/support/RepositoryIntegrationTests.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/org/springframework/data/envers/repository/support/RepositoryIntegrationTests.java b/src/test/java/org/springframework/data/envers/repository/support/RepositoryIntegrationTests.java index c4aa3c7..7d4204f 100755 --- a/src/test/java/org/springframework/data/envers/repository/support/RepositoryIntegrationTests.java +++ b/src/test/java/org/springframework/data/envers/repository/support/RepositoryIntegrationTests.java @@ -97,6 +97,7 @@ public class RepositoryIntegrationTests { Revisions revisions = Revisions.of(page.getContent()); assertThat(revisions.getLatestRevision()).isEqualTo(it); }); + licenseRepository.deleteAll(); } @Test // #1