diff options
author | Niharika Sharma <niharika.sharma@amdocs.com> | 2022-11-17 11:01:55 -0500 |
---|---|---|
committer | Niharika Sharma <niharika.sharma@amdocs.com> | 2022-11-17 11:02:02 -0500 |
commit | 0b65d83e7473d78276629c970fef63ade5bf6c97 (patch) | |
tree | abf38161554f941ef3ceec90c350922bcd218a3b /aai-core/src/test | |
parent | fc87d232dbbcfbcca404b0a5bf40400bc8c7808b (diff) |
[AAI] Fix test case failures in aai-common jakarta
Issue-ID: AAI-3587
Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com>
Change-Id: If1a1ec01a4fd162168a58d712a5ce9f33742d2f8
Diffstat (limited to 'aai-core/src/test')
-rw-r--r-- | aai-core/src/test/java/org/onap/aai/serialization/queryformats/ResourceWithSoTTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/aai-core/src/test/java/org/onap/aai/serialization/queryformats/ResourceWithSoTTest.java b/aai-core/src/test/java/org/onap/aai/serialization/queryformats/ResourceWithSoTTest.java index 57a23115..9f5630c2 100644 --- a/aai-core/src/test/java/org/onap/aai/serialization/queryformats/ResourceWithSoTTest.java +++ b/aai-core/src/test/java/org/onap/aai/serialization/queryformats/ResourceWithSoTTest.java @@ -41,11 +41,13 @@ import org.onap.aai.serialization.engines.TransactionalGraphEngine; import org.onap.aai.serialization.queryformats.exceptions.AAIFormatVertexException; import org.onap.aai.serialization.queryformats.utils.UrlBuilder; import org.onap.aai.setup.SchemaVersion; +import org.springframework.test.annotation.DirtiesContext; import static org.junit.Assert.*; import static org.mockito.Mockito.spy; import static org.mockito.Mockito.when; +@DirtiesContext(classMode = DirtiesContext.ClassMode.BEFORE_CLASS) public class ResourceWithSoTTest extends AAISetup { @Mock private UrlBuilder urlBuilder; |