aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Reehil <william.reehil@att.com>2020-06-29 01:32:02 +0000
committerGerrit Code Review <gerrit@onap.org>2020-06-29 01:32:02 +0000
commit456290d84374a7d0527d32332136587c46b43ecd (patch)
tree9be73a8310d8c5a719965a38ea7a9633ebe87805
parente72835a7bb6568f3320f3e437ce054fea2804ae4 (diff)
parent78f90ab447d39e132886dea8c3bfeb0ed613009f (diff)
Merge "Fix the list endpoints test npe issue"
-rw-r--r--aai-core/src/test/java/org/onap/aai/audit/ListEndpointsTest.java2
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;