Compare commits
No commits in common. "2834117f0f5af7e932a2b5be53775d79445371f7" and "e1db48006728f1c09c32c6e379dab623c1db071a" have entirely different histories.
2834117f0f
...
e1db480067
|
|
@ -15,7 +15,6 @@ public class QyWeChatAppInfoMapperTest {
|
|||
|
||||
@Autowired
|
||||
private QyWeChatAppInfoMapper qyWeChatAppInfoMapper;
|
||||
|
||||
@Test
|
||||
public void testSelect() {
|
||||
System.out.println(("----- select by id test ------"));
|
||||
|
|
@ -42,11 +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,7 @@ class WeChatMsgTest {
|
|||
weChatMsg.setTitle("Example Title");
|
||||
weChatMsg.setSender("Example Sender");
|
||||
weChatMsg.setMessage("Example Message");
|
||||
weChatMsg.setCurrentTime("2023-12-12 18:43:04");
|
||||
|
||||
assertFalse(weChatMsg.isInvalid(), "WeChatMsg should be valid when all fields are valid.");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue