mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
fixes some typo
This commit is contained in:
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…
x
Reference in New Issue
Block a user