summaryrefslogtreecommitdiffstats
path: root/main/src/test/java/org
diff options
context:
space:
mode:
authorRam Krishna Verma <ram_krishna.verma@bell.ca>2023-02-28 19:39:45 +0000
committerGerrit Code Review <gerrit@onap.org>2023-02-28 19:39:45 +0000
commit0c8a0f949e55bedc2f94311e283ead61703b83cc (patch)
tree58c53e0814a89bc34468a541be6f4afb9e021cb9 /main/src/test/java/org
parentf563d9c79baeef2009db57914a82c0731051a2d1 (diff)
parenta7e30d0527dbf8ddf7e431bcb9c16f39c30aab8b (diff)
Merge "Fixed sonar issues in policy-pap"
Diffstat (limited to 'main/src/test/java/org')
-rw-r--r--main/src/test/java/org/onap/policy/pap/main/service/PolicyStatusServiceTest.java4
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() {