Commit 636bace5 by 王欣伟

增加测试用例

1 parent 3692b850
package com.glsx.smart.service;
import com.glsx.smart.service.impl.UserKafkaServiceImpl;
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;
/**
* @author wangxw
* @version 1.0.0
* @ClassName TestDubboService.java
* @description: ${description}
* @createTime 2021年05月05日 15:58:00
*/
@RunWith(SpringRunner.class)
@SpringBootTest
public class TestDubboService {
@Autowired
private UserKafkaServiceImpl userKafkaService;
@Test
public void testGetUserAddress() {
Long userId = 91712473L;
userKafkaService.getPointUser(userId);
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!