Skip to content

Commit

Permalink
Add @DirtiesContext annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
JPercival committed May 13, 2024
1 parent 1bc7eac commit 59681b3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import ca.uhn.fhir.rest.client.api.ServerValidationModeEnum;
import ca.uhn.fhir.rest.client.interceptor.LoggingInterceptor;
import org.springframework.core.io.ClassPathResource;
import org.springframework.test.annotation.DirtiesContext;
import org.springframework.test.context.junit.jupiter.SpringExtension;

import java.io.File;
Expand Down Expand Up @@ -76,6 +77,7 @@ void beforeEach() {
}

@Test
@DirtiesContext
void testCreateAndRead() {

String methodName = "testCreateResourceConditional";
Expand Down

0 comments on commit 59681b3

Please sign in to comment.