Commit 07a66fe8 by Spencer Gibb

updated test to match class

parent 50b1c482
...@@ -91,8 +91,7 @@ public class EurekaClientConfigBeanTests { ...@@ -91,8 +91,7 @@ public class EurekaClientConfigBeanTests {
@Test @Test
public void serviceUrlWithDefault() { public void serviceUrlWithDefault() {
EnvironmentTestUtils.addEnvironment(context, EnvironmentTestUtils.addEnvironment(context,
"eureka.client.serviceUrl.defaultZone:", "eureka.client.serviceUrl.defaultZone:http://example.com");
"eureka.client.serviceUrl.default:http://example.com");
context.register(PropertyPlaceholderAutoConfiguration.class, context.register(PropertyPlaceholderAutoConfiguration.class,
TestConfiguration.class); TestConfiguration.class);
context.refresh(); context.refresh();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment