Skip to content

Commit

Permalink
Added @DirtiesContext.
Browse files Browse the repository at this point in the history
  • Loading branch information
vteague committed Apr 18, 2024
1 parent a6fd358 commit 34cf05f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ the raire assertion generation engine (https://github.com/DemocracyDevelopers/ra
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.annotation.DirtiesContext;
import org.springframework.test.context.ActiveProfiles;

/*
Expand All @@ -52,6 +53,7 @@ the raire assertion generation engine (https://github.com/DemocracyDevelopers/ra
*/
@ActiveProfiles("test-containers")
@SpringBootTest
@DirtiesContext(classMode = DirtiesContext.ClassMode.AFTER_CLASS)
public class GenerateAssertionsExceptionTests {

@Autowired
Expand Down

0 comments on commit 34cf05f

Please sign in to comment.