更新 QyWeChatAppInfoMapperTest.java

master
wangsiyuan 2023-12-12 18:39:58 +08:00
parent 391686628e
commit 715dd2108e
1 changed files with 7 additions and 6 deletions

View File

@ -15,6 +15,7 @@ public class QyWeChatAppInfoMapperTest {
@Autowired
private QyWeChatAppInfoMapper qyWeChatAppInfoMapper;
@Test
public void testSelect() {
System.out.println(("----- select by id test ------"));
@ -41,12 +42,12 @@ public class QyWeChatAppInfoMapperTest {
System.out.println("Test complete");
}
@Test
public void testAllColum(){
for (int i = 1; i < 12; i++) {
QyWeChatAppInfo qyWeChatAppInfo = qyWeChatAppInfoMapper.selectById(i);
public void testAllColum() {
QyWeChatAppInfo qyWeChatAppInfo = qyWeChatAppInfoMapper.selectById(1);
PhoneNumberValidation phoneNumberValidation = new PhoneNumberValidation();
phoneNumberValidation.isValidPhoneNumber(qyWeChatAppInfo.getPhoneNumber());
}
}
}