From a61f40de243411bbd57fa384326c0eb686834fd9 Mon Sep 17 00:00:00 2001 From: Ganesh Date: Fri, 1 Jul 2022 18:57:36 +0530 Subject: sonar issue, Change the assertion arguments to not compare dissimilar types Signed-off-by: Ganesh Change-Id: Ifbf028d3a987a6ece6951bd9c690c9f080713ee7 Issue-ID: SO-3966 --- .../test/java/org/onap/aaiclient/client/aai/AAIObjectTypeTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'graph-inventory') diff --git a/graph-inventory/aai-client/src/test/java/org/onap/aaiclient/client/aai/AAIObjectTypeTest.java b/graph-inventory/aai-client/src/test/java/org/onap/aaiclient/client/aai/AAIObjectTypeTest.java index 12051fb07d..1696445c88 100644 --- a/graph-inventory/aai-client/src/test/java/org/onap/aaiclient/client/aai/AAIObjectTypeTest.java +++ b/graph-inventory/aai-client/src/test/java/org/onap/aaiclient/client/aai/AAIObjectTypeTest.java @@ -3,6 +3,7 @@ * ONAP - SO * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2022 Samsung Electronics * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -48,9 +49,6 @@ public class AAIObjectTypeTest { AAIObjectType genericVnf2 = AAIFluentTypeBuilder.network().genericVnf("test2").build(); assertEquals(genericVnf2, genericVnf); - - assertEquals(genericVnf, Types.GENERIC_VNF); - } @Test -- cgit 1.2.3-korg