remove @DirtiesContext from ContextBasedTest

This commit is contained in:
Michael Hoennig 2024-09-16 06:25:18 +02:00
parent c9f2f19f0b
commit 476e66ebf7

View File

@ -5,14 +5,14 @@ import net.hostsharing.hsadminng.rbac.grant.RbacGrantsDiagramService;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.TestInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase;
import org.springframework.context.annotation.Import;
import org.springframework.test.annotation.DirtiesContext;
import jakarta.persistence.EntityManager;
import jakarta.persistence.PersistenceContext;
import java.sql.Timestamp;
@DirtiesContext
@AutoConfigureTestDatabase(replace = AutoConfigureTestDatabase.Replace.NONE)
@Import(RbacGrantsDiagramService.class)
public abstract class ContextBasedTest {