From d8ed7a991d54bd6e53a7c1fedee808ab78dfdf19 Mon Sep 17 00:00:00 2001 From: isaac Date: Wed, 2 Feb 2022 17:26:05 -0600 Subject: Fixing sonar issues in xacml-pdp Issue-ID: POLICY-3900 Signed-off-by: isaac Change-Id: I29d22d1c6b690204270d87fff6ce42d9d00cef6a --- .../pdp/application/optimization/OptimizationPdpApplicationTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'applications/optimization') diff --git a/applications/optimization/src/test/java/org/onap/policy/xacml/pdp/application/optimization/OptimizationPdpApplicationTest.java b/applications/optimization/src/test/java/org/onap/policy/xacml/pdp/application/optimization/OptimizationPdpApplicationTest.java index 9c922941..f9fe8728 100644 --- a/applications/optimization/src/test/java/org/onap/policy/xacml/pdp/application/optimization/OptimizationPdpApplicationTest.java +++ b/applications/optimization/src/test/java/org/onap/policy/xacml/pdp/application/optimization/OptimizationPdpApplicationTest.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * ONAP * ================================================================================ - * Copyright (C) 2019-2021 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2019-2022 AT&T Intellectual Property. All rights reserved. * Modifications Copyright (C) 2019-2021 Nordix Foundation. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); @@ -170,7 +170,7 @@ public class OptimizationPdpApplicationTest { // // Does it return the correct decisions // - assertThat(service.actionDecisionsSupported().size()).isEqualTo(1); + assertThat(service.actionDecisionsSupported()).hasSize(1); assertThat(service.actionDecisionsSupported()).contains("optimize"); // // Ensure it has the supported policy types and -- cgit 1.2.3-korg