aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/test/java/org/onap/policy/pap/main/startstop/TestMain.java
diff options
context:
space:
mode:
authorjrh3 <jrh3@att.com>2019-07-08 15:30:51 -0400
committerjrh3 <jrh3@att.com>2019-07-08 15:30:51 -0400
commit27f6bacd9c7ef76557a8a653142ed8e67a091a5a (patch)
tree177bd4e8e465686e8c8feb9d028735704c4c29a5 /main/src/test/java/org/onap/policy/pap/main/startstop/TestMain.java
parenta0cc5811862052694918a16fdd8ebfd47ce8ec7b (diff)
Fix pap due to sonar changes in common
Fixed breakages due to changes made in policy/common to satisfy sonar. Issue-ID: POLICY-1791 Signed-off-by: jrh3 <jrh3@att.com> Change-Id: If8685462e1dd5cbbe58c329defff74ff2accf559
Diffstat (limited to 'main/src/test/java/org/onap/policy/pap/main/startstop/TestMain.java')
-rw-r--r--main/src/test/java/org/onap/policy/pap/main/startstop/TestMain.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/test/java/org/onap/policy/pap/main/startstop/TestMain.java b/main/src/test/java/org/onap/policy/pap/main/startstop/TestMain.java
index 016e120d..2658b36c 100644
--- a/main/src/test/java/org/onap/policy/pap/main/startstop/TestMain.java
+++ b/main/src/test/java/org/onap/policy/pap/main/startstop/TestMain.java
@@ -28,7 +28,7 @@ import static org.junit.Assert.assertTrue;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
-import org.onap.policy.common.endpoints.http.server.HttpServletServer;
+import org.onap.policy.common.endpoints.http.server.HttpServletServerFactoryInstance;
import org.onap.policy.common.utils.services.Registry;
import org.onap.policy.pap.main.PapConstants;
import org.onap.policy.pap.main.PolicyPapException;
@@ -48,7 +48,7 @@ public class TestMain {
@Before
public void setUp() {
Registry.newRegistry();
- HttpServletServer.factory.destroy();
+ HttpServletServerFactoryInstance.getServerFactory().destroy();
}
/**