Update test to match expected behavior.

This commit is contained in:
Spencer Gibb
2017-08-18 16:07:39 -06:00
parent f4252d3b73
commit 4a76cb8855

View File

@@ -65,11 +65,11 @@ public class ZookeeperDiscoveryAutoRegistrationFalseTests {
then(instances).isEmpty();
}
@Test public void should_find_local_instance() {
@Test public void should_not_find_local_instance() {
//given
ServiceInstance serviceInstance = this.discoveryClient.getLocalServiceInstance();
//expect:
then(serviceInstance).isNotNull();
then(serviceInstance).isNull();
}
@Configuration