diff options
Diffstat (limited to 'main/src/test/java/org/onap/policy/pap/main/rest/CommonPapRestServer.java')
-rw-r--r-- | main/src/test/java/org/onap/policy/pap/main/rest/CommonPapRestServer.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/test/java/org/onap/policy/pap/main/rest/CommonPapRestServer.java b/main/src/test/java/org/onap/policy/pap/main/rest/CommonPapRestServer.java index e1d1e14a..98a24a62 100644 --- a/main/src/test/java/org/onap/policy/pap/main/rest/CommonPapRestServer.java +++ b/main/src/test/java/org/onap/policy/pap/main/rest/CommonPapRestServer.java @@ -60,7 +60,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * Class to perform unit test of {@link PapRestServer}. + * Class to perform unit test of {@link PapRestControllerV1}. * * @author Ram Krishna Verma (ram.krishna.verma@est.tech) */ @@ -214,7 +214,7 @@ public class CommonPapRestServer { /** * Stops the "Main". * - * @throws Exception if an error occurs + * @throws PolicyPapException if an error occurs */ private static void stopMain() throws PolicyPapException { if (main != null) { @@ -294,7 +294,7 @@ public class CommonPapRestServer { client.register(GsonMessageBodyHandler.class); if (includeAuth) { - final HttpAuthenticationFeature feature = HttpAuthenticationFeature.basic("healthcheck", "zb!XztG34"); + final HttpAuthenticationFeature feature = HttpAuthenticationFeature.basic("policyadmin", "zb!XztG34"); client.register(feature); } |