summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKanagaraj Manickam <kanagaraj.manickam@huawei.com>2022-05-23 15:16:48 +0000
committerGerrit Code Review <gerrit@onap.org>2022-05-23 15:16:48 +0000
commite8bb4c7f506d1f83dcc67481827a8e7432c83f9f (patch)
tree1212ed062432426f380943654cc5da6c5f7a6eea
parent26f72bfa3ab9c40788bf028d95a4fa5f8d434ed3 (diff)
parent7aad20787c1f26731b3d0e870358864fa7869f26 (diff)
Merge "inplace of hasSize(0), isEmpty() is used in AssertJ for better error message"
-rw-r--r--csarvalidation/src/test/java/org/onap/functional/VnfValidationFunctionalTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/csarvalidation/src/test/java/org/onap/functional/VnfValidationFunctionalTest.java b/csarvalidation/src/test/java/org/onap/functional/VnfValidationFunctionalTest.java
index e93c51f..f1f848a 100644
--- a/csarvalidation/src/test/java/org/onap/functional/VnfValidationFunctionalTest.java
+++ b/csarvalidation/src/test/java/org/onap/functional/VnfValidationFunctionalTest.java
@@ -57,7 +57,7 @@ public class VnfValidationFunctionalTest {
assertThat(ruleValidationResult.errors)
.hasSize(1);
} else {
- assertThat(ruleValidationResult.errors).hasSize(0);
+ assertThat(ruleValidationResult.errors).isEmpty();
}
});