Remove Security issue and bug and fix copyrights
[nonrtric.git] / dashboard / webapp-backend / src / test / java / org / oransc / ric / portal / dashboard / DashboardTestServer.java
index e19890b..80a272f 100644 (file)
@@ -3,6 +3,7 @@
  * O-RAN-SC
  * %%
  * Copyright (C) 2019 AT&T Intellectual Property
+ * Modifications Copyright (C) 2020 Nordix Foundation
  * %%
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -19,8 +20,6 @@
  */
 package org.oransc.ric.portal.dashboard;
 
-import static org.junit.jupiter.api.Assertions.assertEquals;
-
 import java.lang.invoke.MethodHandles;
 
 import org.junit.jupiter.api.Test;
@@ -55,6 +54,7 @@ public class DashboardTestServer {
      * Keeps the test server alive forever. Use a guard so this test is never run by
      * Jenkins.
      */
+    @SuppressWarnings("squid:S2699") // To avoid warning about missing assertion.
     @EnabledIfSystemProperty(named = "org.oransc.ric.portal.dashboard", matches = "mock")
     @Test
     public void keepServerAlive() {
@@ -66,6 +66,5 @@ public class DashboardTestServer {
         } catch (Exception ex) {
             logger.warn(ex.toString());
         }
-        assertEquals(1, 2);
     }
 }