Showing
3 changed files
with
4 additions
and
2 deletions
@@ -3,7 +3,7 @@ git add --all src/* | @@ -3,7 +3,7 @@ git add --all src/* | ||
3 | git add --all lib/* | 3 | git add --all lib/* |
4 | git add push.sh | 4 | git add push.sh |
5 | git add pom.xml | 5 | git add pom.xml |
6 | -git commit -m "add test case of pulse and log " | 6 | +git commit -m "MOD data share" |
7 | git push origin master | 7 | git push origin master |
8 | git status | 8 | git status |
9 | git pull | 9 | git pull |
@@ -24,6 +24,8 @@ public class DataShareTest { | @@ -24,6 +24,8 @@ public class DataShareTest { | ||
24 | Map<String, String> params = new HashMap<String, String>(); | 24 | Map<String, String> params = new HashMap<String, String>(); |
25 | params.put("t", HttpTools.getNow()); | 25 | params.put("t", HttpTools.getNow()); |
26 | params.put("type", Constants.KEY_ID); | 26 | params.put("type", Constants.KEY_ID); |
27 | + params.put("sdate", "2017-04-01"); | ||
28 | + params.put("edate", "2017-05-01"); | ||
27 | params.put("sign", HttpTools.getSign(params)); | 29 | params.put("sign", HttpTools.getSign(params)); |
28 | String response = HttpTools.requestByMap(DataShare_REPORT_LIST, "GET", params); | 30 | String response = HttpTools.requestByMap(DataShare_REPORT_LIST, "GET", params); |
29 | Assert.assertTrue(RtnCodeTools.verifyCode(response, Constants.CODE_SUCC)); | 31 | Assert.assertTrue(RtnCodeTools.verifyCode(response, Constants.CODE_SUCC)); |
@@ -26,7 +26,7 @@ public class UserInfoTest { | @@ -26,7 +26,7 @@ public class UserInfoTest { | ||
26 | public void testRegister() { | 26 | public void testRegister() { |
27 | String adminUser = Constants.ADMIN_ACCOUNT; | 27 | String adminUser = Constants.ADMIN_ACCOUNT; |
28 | String adminPass = Constants.ADMIN_PWD; | 28 | String adminPass = Constants.ADMIN_PWD; |
29 | - String user = "1521111212"; | 29 | + String user = "15211112222"; |
30 | String pass = "pass152"; | 30 | String pass = "pass152"; |
31 | String name = "usernameTest"; | 31 | String name = "usernameTest"; |
32 | String sex = Constants.MALE; | 32 | String sex = Constants.MALE; |
-
Please register or login to post a comment