Compare commits
No commits in common. "715dd2108e2bb72e11d6616e9e6013b7afdb129f" and "09835f490e50152d31f227ca48bce7f10ffc1e54" have entirely different histories.
715dd2108e
...
09835f490e
|
|
@ -15,7 +15,6 @@ public class QyWeChatAppInfoMapperTest {
|
|||
|
||||
@Autowired
|
||||
private QyWeChatAppInfoMapper qyWeChatAppInfoMapper;
|
||||
|
||||
@Test
|
||||
public void testSelect() {
|
||||
System.out.println(("----- select by id test ------"));
|
||||
|
|
@ -42,12 +41,12 @@ public class QyWeChatAppInfoMapperTest {
|
|||
|
||||
System.out.println("Test complete");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllColum() {
|
||||
QyWeChatAppInfo qyWeChatAppInfo = qyWeChatAppInfoMapper.selectById(1);
|
||||
PhoneNumberValidation phoneNumberValidation = new PhoneNumberValidation();
|
||||
phoneNumberValidation.isValidPhoneNumber(qyWeChatAppInfo.getPhoneNumber());
|
||||
|
||||
public void testAllColum(){
|
||||
for (int i = 1; i < 12; i++) {
|
||||
QyWeChatAppInfo qyWeChatAppInfo = qyWeChatAppInfoMapper.selectById(i);
|
||||
PhoneNumberValidation phoneNumberValidation = new PhoneNumberValidation();
|
||||
phoneNumberValidation.isValidPhoneNumber(qyWeChatAppInfo.getPhoneNumber());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ class WeChatMsgTest {
|
|||
weChatMsg.setTitle("Example Title");
|
||||
weChatMsg.setSender("Example Sender");
|
||||
weChatMsg.setMessage("Example Message");
|
||||
weChatMsg.setCurrentTime("dqdd");
|
||||
|
||||
assertFalse(weChatMsg.isInvalid(), "WeChatMsg should be valid when all fields are valid.");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue