diff options
author | isaac <isaac.adorno@att.com> | 2022-02-02 17:26:05 -0600 |
---|---|---|
committer | isaac <isaac.adorno@att.com> | 2022-02-08 09:59:22 -0600 |
commit | d8ed7a991d54bd6e53a7c1fedee808ab78dfdf19 (patch) | |
tree | 6c6ea957730d55906133976409c3ee741af9f652 /main/src/test | |
parent | c2b84da690d862f084609da8e788d874e6792410 (diff) |
Fixing sonar issues in xacml-pdp
Issue-ID: POLICY-3900
Signed-off-by: isaac <isaac.adorno@att.com>
Change-Id: I29d22d1c6b690204270d87fff6ce42d9d00cef6a
Diffstat (limited to 'main/src/test')
-rw-r--r-- | main/src/test/java/org/onap/policy/pdpx/main/rest/XacmlPdpApplicationManagerTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/test/java/org/onap/policy/pdpx/main/rest/XacmlPdpApplicationManagerTest.java b/main/src/test/java/org/onap/policy/pdpx/main/rest/XacmlPdpApplicationManagerTest.java index 036d4e35..b6c84b1f 100644 --- a/main/src/test/java/org/onap/policy/pdpx/main/rest/XacmlPdpApplicationManagerTest.java +++ b/main/src/test/java/org/onap/policy/pdpx/main/rest/XacmlPdpApplicationManagerTest.java @@ -1,6 +1,6 @@ /*- * ============LICENSE_START======================================================= - * Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2020-2022 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -91,7 +91,7 @@ public class XacmlPdpApplicationManagerTest { // We need at least 1 policies // assertThat(completedJtst).isNotNull(); - assertThat(completedJtst.getToscaTopologyTemplate().getPolicies().size()).isPositive(); + assertThat(completedJtst.getToscaTopologyTemplate().getPolicies()).isNotEmpty(); // // Copy test directory over of the application directories // |