diff --git a/rc-service/rc-service-other/other-start/src/test/java/user/UserProfileTest.java b/rc-service/rc-service-other/other-start/src/test/java/user/UserProfileTest.java new file mode 100644 index 00000000..41d3469d --- /dev/null +++ b/rc-service/rc-service-other/other-start/src/test/java/user/UserProfileTest.java @@ -0,0 +1,25 @@ +package user; + +import com.red.circle.OtherServiceApplication; +import com.red.circle.framework.dto.ResultResponse; +import com.red.circle.other.inner.endpoint.user.user.UserProfileClient; +import com.red.circle.other.inner.model.dto.user.UserProfileDTO; +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.test.context.junit4.SpringRunner; + +@SpringBootTest(classes = OtherServiceApplication.class) +@RunWith(SpringRunner.class) +public class UserProfileTest { + + @Autowired + private UserProfileClient userProfileClient; + + @Test + public void userProfileTest(){ + ResultResponse byUserId = userProfileClient.getByUserId(1999166404179394561L); + } + +}