diff options
Diffstat (limited to 'catalog-fe/src/test/java/org/openecomp/sdc/fe/servlets/ConfigServletTest.java')
-rw-r--r-- | catalog-fe/src/test/java/org/openecomp/sdc/fe/servlets/ConfigServletTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/catalog-fe/src/test/java/org/openecomp/sdc/fe/servlets/ConfigServletTest.java b/catalog-fe/src/test/java/org/openecomp/sdc/fe/servlets/ConfigServletTest.java index 1bc3a06e9a..733f2353d9 100644 --- a/catalog-fe/src/test/java/org/openecomp/sdc/fe/servlets/ConfigServletTest.java +++ b/catalog-fe/src/test/java/org/openecomp/sdc/fe/servlets/ConfigServletTest.java @@ -41,7 +41,7 @@ import javax.ws.rs.core.Response; import static org.junit.Assert.assertEquals; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.when; -import static org.mockito.MockitoAnnotations.initMocks; +import static org.mockito.MockitoAnnotations.openMocks; public class ConfigServletTest { @@ -60,7 +60,7 @@ public class ConfigServletTest { @Before public void setUp() { - initMocks(this); + openMocks(this); String appConfigDir = "src/test/resources/config/catalog-fe"; ConfigurationSource configurationSource = new FSConfigurationSource(ExternalConfiguration.getChangeListener(), appConfigDir); |