From 78f90ab447d39e132886dea8c3bfeb0ed613009f Mon Sep 17 00:00:00 2001 From: Harish Venkata Kajur Date: Tue, 9 Jun 2020 09:22:56 -0400 Subject: Fix the list endpoints test npe issue Issue-ID: AAI-2927 Change-Id: I8449e52a42fa7dcf8194680f5a2da5c2b6b6c439 Signed-off-by: Harish Venkata Kajur --- aai-core/src/test/java/org/onap/aai/audit/ListEndpointsTest.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'aai-core/src') 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; -- cgit 1.2.3-korg