Implement public private locator
[aaf/authz.git] / auth / auth-certman / src / test / java / org / onap / aaf / auth / cm / JU_AAF_CM.java
index 58efa2a..8841eb2 100644 (file)
@@ -26,7 +26,6 @@ import static org.mockito.MockitoAnnotations.initMocks;
 
 import java.lang.reflect.Field;
 import java.lang.reflect.Modifier;
-import java.security.NoSuchAlgorithmException;
 import java.util.Properties;
 
 import javax.servlet.Filter;
@@ -86,7 +85,7 @@ public class JU_AAF_CM {
                        Properties props=new Properties();
                        Mockito.doReturn(props).when(access).getProperties();
                        props.setProperty("cm_ca.props", "test");
-                       Mockito.doReturn("test:2.1").when(access).getProperty(Config.AAF_LOCATOR_NAMES, null);
+                       Mockito.doReturn("test:2.1").when(access).getProperty(Config.AAF_LOCATOR_ENTRIES, null);
                        Mockito.doReturn("test").when(access).getProperty("https.protocols","TLSv1.1,TLSv1.2");
                        Mockito.doReturn("test").when(env).getProperty("cm_ca.props.perm_type",null);
                        Mockito.doReturn("test").when(env).getProperty("cm_ca.props.baseSubject",null);