aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGanesh <ganesh.c@samsung.com>2022-06-27 16:06:36 +0530
committerGanesh <ganesh.c@samsung.com>2022-06-27 16:06:43 +0530
commit18b5e5f1c9c2311c85f9b950e2d7c2e59f7d67c0 (patch)
tree189b74af20aa9a0db786c4a04ca081fa63ff0afb
parent388a40537831e61e3db987b50b4be144491e9ab5 (diff)
sonar bug, Change the assertion arguments to not compare a primitive value with null
Signed-off-by: Ganesh <ganesh.c@samsung.com> Change-Id: I72e255d016d3c08ceb6c075cfc6b9e710e5acfa0 Issue-ID: SO-3966
-rw-r--r--adapters/mso-sdnc-adapter/src/test/java/org/onap/so/adapters/sdnc/sdncrest/BPRestCallbackTest.java1
1 files changed, 0 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 c1bbb9ae9a..ab782d457c 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
@@ -48,7 +48,6 @@ public class BPRestCallbackTest extends BaseTest {
.withBody(response).withStatus(HttpStatus.SC_MULTIPLE_CHOICES)));
boolean responseCommon = bpRestCallback.send("http://localhost:" + wireMockPort + "/sdnc", "Test");
- assertNotNull(responseCommon);
assertEquals(true, responseCommon);
}
}