diff options
Diffstat (limited to 'models-provider/src/test')
2 files changed, 2 insertions, 4 deletions
diff --git a/models-provider/src/test/java/org/onap/policy/models/provider/impl/DummyBadProviderImpl.java b/models-provider/src/test/java/org/onap/policy/models/provider/impl/DummyBadProviderImpl.java index 84331e905..0d7f7f0fd 100644 --- a/models-provider/src/test/java/org/onap/policy/models/provider/impl/DummyBadProviderImpl.java +++ b/models-provider/src/test/java/org/onap/policy/models/provider/impl/DummyBadProviderImpl.java @@ -158,8 +158,7 @@ public class DummyBadProviderImpl implements PolicyModelsProvider { } @Override - public List<Map<PfConceptKey, ToscaNodeTemplate>> getToscaNodeTemplate(final String name, - final String version) + public List<ToscaNodeTemplate> getToscaNodeTemplate(final String name, final String version) throws PfModelException { return null; } diff --git a/models-provider/src/test/java/org/onap/policy/models/provider/impl/DummyPolicyModelsProviderImpl.java b/models-provider/src/test/java/org/onap/policy/models/provider/impl/DummyPolicyModelsProviderImpl.java index 4b8f1b866..5634b0ff1 100644 --- a/models-provider/src/test/java/org/onap/policy/models/provider/impl/DummyPolicyModelsProviderImpl.java +++ b/models-provider/src/test/java/org/onap/policy/models/provider/impl/DummyPolicyModelsProviderImpl.java @@ -203,8 +203,7 @@ public class DummyPolicyModelsProviderImpl implements PolicyModelsProvider { } @Override - public List<Map<PfConceptKey, ToscaNodeTemplate>> getToscaNodeTemplate(final String name, - final String version) + public List<ToscaNodeTemplate> getToscaNodeTemplate(final String name, final String version) throws PfModelException { return new ArrayList<>(); } |