diff options
author | Suresh Charan <suresh.charan@bell.ca> | 2023-02-27 13:14:07 -0500 |
---|---|---|
committer | Suresh Charan <suresh.charan@bell.ca> | 2023-02-27 20:05:49 -0500 |
commit | a7e30d0527dbf8ddf7e431bcb9c16f39c30aab8b (patch) | |
tree | a784a9724493814673c66b8b32a8f6c107e59155 /main/src/test/java/org | |
parent | aa87a5c942dd5917b317e9fc3c93c0acfba391e4 (diff) |
Fixed sonar issues in policy-pap
Reduced technical debt by fixing sonar issues
Issue-ID: POLICY-4536
Change-Id: I3f4ff8cae7d22c5d2d062e98475592425e3c98c4
Signed-off-by: Suresh Charan <suresh.charan@bell.ca>
Diffstat (limited to 'main/src/test/java/org')
-rw-r--r-- | main/src/test/java/org/onap/policy/pap/main/service/PolicyStatusServiceTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/test/java/org/onap/policy/pap/main/service/PolicyStatusServiceTest.java b/main/src/test/java/org/onap/policy/pap/main/service/PolicyStatusServiceTest.java index aeb2fdbb..6166580e 100644 --- a/main/src/test/java/org/onap/policy/pap/main/service/PolicyStatusServiceTest.java +++ b/main/src/test/java/org/onap/policy/pap/main/service/PolicyStatusServiceTest.java @@ -1,6 +1,6 @@ /*- * ============LICENSE_START======================================================= - * Copyright (C) 2022 Bell Canada. All rights reserved. + * Copyright (C) 2022-2023 Bell Canada. All rights reserved. * Modifications Copyright (C) 2022 Nordix Foundation. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); @@ -141,7 +141,7 @@ public class PolicyStatusServiceTest extends CommonPapRestServer { // Test delete policyStatusService.cudPolicyStatus(null, null, List.of(status)); - assertThat(policyStatusService.getAllPolicyStatus()).hasSize(0); + assertThat(policyStatusService.getAllPolicyStatus()).isEmpty(); } private List<PdpPolicyStatus> createStatusList() { |