diff --git a/dhis-2/dhis-test-integration/src/test/java/org/hisp/dhis/trackedentity/TrackedEntityAuditStoreTest.java b/dhis-2/dhis-test-integration/src/test/java/org/hisp/dhis/trackedentity/TrackedEntityAuditStoreTest.java index 7cbbf31028aa..155483fc4bbc 100644 --- a/dhis-2/dhis-test-integration/src/test/java/org/hisp/dhis/trackedentity/TrackedEntityAuditStoreTest.java +++ b/dhis-2/dhis-test-integration/src/test/java/org/hisp/dhis/trackedentity/TrackedEntityAuditStoreTest.java @@ -118,7 +118,8 @@ void testGetAuditsByParams() { params = new TrackedEntityAuditQueryParams() - .setAuditTypes(List.of(AuditOperationType.CREATE, AuditOperationType.DELETE)); + .setAuditTypes(List.of(AuditOperationType.CREATE, AuditOperationType.DELETE)) + .setUsers(List.of("userA", "userB", "userC", "userD")); assertContainsOnly(List.of(auditA, auditD), store.getTrackedEntityAudit(params)); diff --git a/dhis-2/dhis-test-integration/src/test/java/org/hisp/dhis/tracker/deduplication/DeduplicationServiceMergeIntegrationTest.java b/dhis-2/dhis-test-integration/src/test/java/org/hisp/dhis/tracker/deduplication/DeduplicationServiceMergeIntegrationTest.java index 7c68b06d6797..388f2e93c602 100644 --- a/dhis-2/dhis-test-integration/src/test/java/org/hisp/dhis/tracker/deduplication/DeduplicationServiceMergeIntegrationTest.java +++ b/dhis-2/dhis-test-integration/src/test/java/org/hisp/dhis/tracker/deduplication/DeduplicationServiceMergeIntegrationTest.java @@ -78,7 +78,9 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.transaction.annotation.Transactional; +@Transactional class DeduplicationServiceMergeIntegrationTest extends PostgresIntegrationTestBase { @Autowired private DeduplicationService deduplicationService;