summaryrefslogtreecommitdiffstats
path: root/nokiav2/driver/src/test/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nokia/vnfm
diff options
context:
space:
mode:
authorDenes Nemeth <denes.nemeth@nokia.com>2018-03-05 11:34:34 +0100
committerDenes Nemeth <denes.nemeth@nokia.com>2018-03-05 11:46:33 +0100
commitbe56383397388d35f41089723e912856c03f4673 (patch)
tree70fa2ec82e5de369fb7397e8b261bfcf8748282b /nokiav2/driver/src/test/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nokia/vnfm
parent729c12f0145d4ac71e92545e7408379b48c8f389 (diff)
Fix release artifacts
Change-Id: Ic61a50d8c7b9c2121b7ebbac5324b1c2b99e1f3a Signed-off-by: Denes Nemeth <denes.nemeth@nokia.com> Issue-ID: VFC-728
Diffstat (limited to 'nokiav2/driver/src/test/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nokia/vnfm')
-rw-r--r--nokiav2/driver/src/test/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nokia/vnfm/TestBase.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/nokiav2/driver/src/test/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nokia/vnfm/TestBase.java b/nokiav2/driver/src/test/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nokia/vnfm/TestBase.java
index 99e95b4c..5f1d6007 100644
--- a/nokiav2/driver/src/test/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nokia/vnfm/TestBase.java
+++ b/nokiav2/driver/src/test/java/org/onap/vfc/nfvo/driver/vnfm/svnfm/nokia/vnfm/TestBase.java
@@ -116,7 +116,7 @@ public class TestBase {
@Before
public void genericSetup() throws Exception {
MockitoAnnotations.initMocks(this);
- ReflectionTestUtils.setField(SystemFunctions.class, "INSTANCE", systemFunctions);
+ ReflectionTestUtils.setField(SystemFunctions.class, "singletonInstance", systemFunctions);
when(cbamRestApiProvider.getCbamLcmApi(VNFM_ID)).thenReturn(vnfApi);
when(cbamRestApiProvider.getCbamOperationExecutionApi(VNFM_ID)).thenReturn(operationExecutionApi);
when(cbamRestApiProvider.getCbamLcnApi(VNFM_ID)).thenReturn(lcnApi);
@@ -133,7 +133,7 @@ public class TestBase {
@After
public void tearGeneric() {
- ReflectionTestUtils.setField(SystemFunctions.class, "INSTANCE", null);
+ ReflectionTestUtils.setField(SystemFunctions.class, "singletonInstance", null);
}
protected void assertFileInZip(byte[] zip, String path, byte[] expectedContent) throws Exception {