diff options
author | Harish Venkata Kajur <vk250x@att.com> | 2020-06-09 09:22:56 -0400 |
---|---|---|
committer | Harish Venkata Kajur <vk250x@att.com> | 2020-06-09 09:23:17 -0400 |
commit | 78f90ab447d39e132886dea8c3bfeb0ed613009f (patch) | |
tree | 8925dea28676b16f845c582cfde0aa8529db4b77 | |
parent | a81695efd81cc14d53ad94c5539101c641feb539 (diff) |
Fix the list endpoints test npe issue
Issue-ID: AAI-2927
Change-Id: I8449e52a42fa7dcf8194680f5a2da5c2b6b6c439
Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
-rw-r--r-- | aai-core/src/test/java/org/onap/aai/audit/ListEndpointsTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/aai-core/src/test/java/org/onap/aai/audit/ListEndpointsTest.java b/aai-core/src/test/java/org/onap/aai/audit/ListEndpointsTest.java index 5c825242..5d606733 100644 --- a/aai-core/src/test/java/org/onap/aai/audit/ListEndpointsTest.java +++ b/aai-core/src/test/java/org/onap/aai/audit/ListEndpointsTest.java @@ -25,11 +25,13 @@ import org.junit.Before; import org.junit.Test; import org.onap.aai.AAISetup; import org.onap.aai.setup.SchemaVersion; +import org.springframework.test.annotation.DirtiesContext; import java.util.List; import java.util.Map; import java.util.Properties; +@DirtiesContext(classMode = DirtiesContext.ClassMode.BEFORE_CLASS) public class ListEndpointsTest extends AAISetup { private Properties properties; |