package com.shanyuan.platform;
import com.shanyuan.SaasApplication;
import com.shanyuan.platform.ms.core.login.UserLoginService;
import com.shanyuan.platform.ms.facade.login.UserLoginFacade;
import com.shanyuan.platform.ms.facade.user.UserFacade;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest(classes = SaasApplication.class)
public class TestOr {
@Autowired
UserLoginService userLoginService;
@Autowired
UserLoginFacade userLoginFacade;
@Test
public void testNNN(){
userLoginService.getUserInfoByUserName("nnn");
}
@Test
public void testEEEE(){
userLoginFacade.createUserInfo(24,"17862818850","11","11","13583150535",null,1,null,null,null,24,null,"123456");
}
}
网友评论