aboutsummaryrefslogtreecommitdiffstats
path: root/models/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'models/src/test')
-rw-r--r--models/src/test/java/org/onap/policy/clamp/controlloop/models/controlloop/persistence/provider/ControlLoopProviderTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/src/test/java/org/onap/policy/clamp/controlloop/models/controlloop/persistence/provider/ControlLoopProviderTest.java b/models/src/test/java/org/onap/policy/clamp/controlloop/models/controlloop/persistence/provider/ControlLoopProviderTest.java
index 2b472c835..4b8617b3d 100644
--- a/models/src/test/java/org/onap/policy/clamp/controlloop/models/controlloop/persistence/provider/ControlLoopProviderTest.java
+++ b/models/src/test/java/org/onap/policy/clamp/controlloop/models/controlloop/persistence/provider/ControlLoopProviderTest.java
@@ -209,7 +209,7 @@ class ControlLoopProviderTest {
mock(ToscaNodeTemplateRepository.class), mock(ToscaNodeTemplatesRepository.class));
var toscaServiceTemplate = testControlLoopRead();
controlLoopProvider.deleteInstanceProperties(controlLoopProvider.saveInstanceProperties(toscaServiceTemplate),
- controlLoopProvider.getNodeTemplates(null, null));
+ controlLoopProvider.getAllNodeTemplates());
assertThat(controlLoopProvider.getControlLoops()).isEmpty();
}
@@ -255,7 +255,7 @@ class ControlLoopProviderTest {
.thenReturn(List.of(toscaNodeTemplate0));
// Getting all nodes
- var listNodes = controlLoopProvider.getNodeTemplates(null, null);
+ var listNodes = controlLoopProvider.getAllNodeTemplates();
assertNotNull(listNodes);
assertThat(listNodes).hasSize(2);