constant wasn't final
This commit is contained in:
@@ -10,7 +10,7 @@ import org.springframework.cloud.util.EnvironmentAccessor;
|
||||
|
||||
/**
|
||||
* Base test class that provides setup and utility methods to generate test payload
|
||||
*
|
||||
*
|
||||
* @author Ramnivas Laddad
|
||||
*
|
||||
*/
|
||||
@@ -20,7 +20,7 @@ public abstract class AbstractHerokuConnectorTest {
|
||||
|
||||
protected static final String hostname = "10.20.30.40";
|
||||
protected static final int port = 1234;
|
||||
protected static String username = "myuser";
|
||||
protected static final String username = "myuser";
|
||||
protected static final String password = "mypass";
|
||||
|
||||
@Before
|
||||
@@ -28,7 +28,7 @@ public abstract class AbstractHerokuConnectorTest {
|
||||
MockitoAnnotations.initMocks(this);
|
||||
testCloudConnector.setCloudEnvironment(mockEnvironment);
|
||||
}
|
||||
|
||||
|
||||
protected static ServiceInfo getServiceInfo(List<ServiceInfo> serviceInfos, String serviceId) {
|
||||
for (ServiceInfo serviceInfo : serviceInfos) {
|
||||
if (serviceInfo.getId().equals(serviceId)) {
|
||||
|
||||
Reference in New Issue
Block a user