From 9ede89131044d171187c5be906aefee615a0e568 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Tue, 9 Apr 2019 11:55:57 +0000 Subject: Complete unit test for models-pdp This review completes the unit test for the models-pdp module, for persistence of PDP groups and for PDP group filtering. Added unit test of filters for TOSCA policy types and policies. Added fix to allow filters to pass when the value being checked is null. Issue-ID: POLICY-1095 Change-Id: I982400ef39f0282d813d49e484a58207e03b8a63 Signed-off-by: liamfallon --- .../onap/policy/models/provider/impl/PolicyToscaPersistenceTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models-provider/src/test/java/org') diff --git a/models-provider/src/test/java/org/onap/policy/models/provider/impl/PolicyToscaPersistenceTest.java b/models-provider/src/test/java/org/onap/policy/models/provider/impl/PolicyToscaPersistenceTest.java index bf48292fd..8f05244b9 100644 --- a/models-provider/src/test/java/org/onap/policy/models/provider/impl/PolicyToscaPersistenceTest.java +++ b/models-provider/src/test/java/org/onap/policy/models/provider/impl/PolicyToscaPersistenceTest.java @@ -117,7 +117,7 @@ public class PolicyToscaPersistenceTest { } } } catch (Exception exc) { - LOGGER.warn("error processing policies", exc); + LOGGER.warn("error processing policy types", exc); fail("test should not throw an exception"); } } -- cgit 1.2.3-korg