Selaa lähdekoodia

金融申请数据下载接口访问地址更新

hejq 8 vuotta sitten
vanhempi
commit
5e8862b102
1 muutettua tiedostoa jossa 3 lisäystä ja 8 poistoa
  1. 3 8
      src/test/java/com/uas/erp/test/RestJdbcTest.java

+ 3 - 8
src/test/java/com/uas/erp/test/RestJdbcTest.java

@@ -1,29 +1,24 @@
 package com.uas.erp.test;
 
 import com.alibaba.fastjson.JSON;
-import com.uas.erp.schedular.UasSchedulingApplication;
 import com.uas.erp.schedular.database.RestJdbcTemplate;
 import com.uas.erp.schedular.entity.Master;
 import com.uas.erp.schedular.util.ContextHolder;
-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.SpringJUnit4ClassRunner;
 
 import java.sql.SQLException;
 
 /**
  * Created by Pro1 on 2017/7/28.
  */
-@RunWith(SpringJUnit4ClassRunner.class)
-@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.NONE, classes = UasSchedulingApplication.class)
+//@RunWith(SpringJUnit4ClassRunner.class)
+//@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.NONE, classes = UasSchedulingApplication.class)
 public class RestJdbcTest {
 
     @Autowired
     private RestJdbcTemplate restJdbcTemplate;
 
-    @Test
+//    @Test
     public void testQuery() throws SQLException{
         Master master = new Master();
         master.setMa_user("UAS");