| | |
| | | import com.matrix.system.shopXcx.api.vo.SignBasicInfoVo; |
| | | import com.matrix.system.shopXcx.bean.ShopActivities; |
| | | import com.matrix.system.shopXcx.dao.ShopActivitiesDao; |
| | | import org.junit.Assert; |
| | | 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.boot.test.web.client.TestRestTemplate; |
| | | import org.springframework.test.context.junit4.SpringRunner; |
| | | |
| | | import java.util.ArrayList; |
| | |
| | | @Autowired |
| | | private ActivitySignAwardSetDao activitySignAwardSetDao; |
| | | |
| | | @Autowired |
| | | private TestRestTemplate restTemplate; |
| | | |
| | | |
| | | @Test |
| | | public void getName() { |
| | | String name = restTemplate.getForObject("/common/job", String.class); |
| | | System.out.println(name); |
| | | Assert.assertEquals("1", name); |
| | | } |
| | | |
| | | @Test |
| | | public void getSignBasicInfo() { |