fixes some typo

pull/236/head
flystar32 6 years ago
parent b6281a6dc1
commit 36c20f5ab1

@ -17,7 +17,6 @@
package org.springframework.cloud.alibaba.nacos;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
@ -30,16 +29,15 @@ import org.junit.Test;
import org.springframework.cloud.client.ServiceInstance;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.eq;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import static org.springframework.cloud.alibaba.nacos.test.NacosMockTest.serviceInstance;
/**
* @author yizhan
* @author xiaojing
*/
public class NacosDiscoveryClientTest {
public class NacosDiscoveryClientTests {
private String host = "123.123.123.123";
private int port = 8888;

@ -45,7 +45,6 @@ public class NacosRibbonClientConfigurationTests {
@Bean
IClientConfig iClientConfig() {
// return new IClientConfig.Builder().s.build();
DefaultClientConfigImpl config = new DefaultClientConfigImpl();
config.setClientName("myapp");
return config;

@ -22,7 +22,7 @@ import java.util.UUID;
import com.alibaba.nacos.api.naming.pojo.Instance;
/**
* @author yizhan
* @author xiaojing
*/
public class NacosMockTest {

Loading…
Cancel
Save