aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-sdnc-adapter/src
diff options
context:
space:
mode:
authorGanesh <ganesh.c@samsung.com>2022-07-12 16:12:08 +0530
committerGanesh <ganesh.c@samsung.com>2022-07-12 16:12:12 +0530
commit093d86b5472059b9659ac62abf7cabe10d9e8a54 (patch)
tree444ed2163fc1bd8d919a485328bb11d2ef7c67c9 /adapters/mso-sdnc-adapter/src
parenta61f40de243411bbd57fa384326c0eb686834fd9 (diff)
sonar issue, Change the assertion arguments to not compare a primitive value
Signed-off-by: Ganesh <ganesh.c@samsung.com> Change-Id: I1710ada880155d30582c0b9bcceb5f8152a32527 Issue-ID: SO-3966
Diffstat (limited to 'adapters/mso-sdnc-adapter/src')
-rw-r--r--adapters/mso-sdnc-adapter/src/test/java/org/onap/so/adapters/sdnc/sdncrest/BPRestCallbackTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/adapters/mso-sdnc-adapter/src/test/java/org/onap/so/adapters/sdnc/sdncrest/BPRestCallbackTest.java b/adapters/mso-sdnc-adapter/src/test/java/org/onap/so/adapters/sdnc/sdncrest/BPRestCallbackTest.java
index ab782d457c..557a67b7cb 100644
--- a/adapters/mso-sdnc-adapter/src/test/java/org/onap/so/adapters/sdnc/sdncrest/BPRestCallbackTest.java
+++ b/adapters/mso-sdnc-adapter/src/test/java/org/onap/so/adapters/sdnc/sdncrest/BPRestCallbackTest.java
@@ -24,6 +24,7 @@ import static com.github.tomakehurst.wiremock.client.WireMock.aResponse;
import static com.github.tomakehurst.wiremock.client.WireMock.post;
import static com.github.tomakehurst.wiremock.client.WireMock.urlPathEqualTo;
import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
import static org.junit.Assert.assertNotNull;
import org.apache.http.HttpStatus;
import org.junit.Test;
@@ -48,6 +49,6 @@ public class BPRestCallbackTest extends BaseTest {
.withBody(response).withStatus(HttpStatus.SC_MULTIPLE_CHOICES)));
boolean responseCommon = bpRestCallback.send("http://localhost:" + wireMockPort + "/sdnc", "Test");
- assertEquals(true, responseCommon);
+ assertTrue(responseCommon);
}
}