add userprofile test

This commit is contained in:
tianfeng 2025-12-15 16:27:46 +08:00
parent f34fa2c20c
commit d8b5550595

View File

@ -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<UserProfileDTO> byUserId = userProfileClient.getByUserId(1999166404179394561L);
}
}