Compare commits
20 Commits
dev
...
715dd2108e
| Author | SHA1 | Date | |
|---|---|---|---|
| 715dd2108e | |||
| 391686628e | |||
| 09835f490e | |||
| 46a2de73ff | |||
| fc80657dc5 | |||
| 6ccd000785 | |||
| 2be32c4d9f | |||
| 8aea9de61c | |||
| 4164b69aca | |||
| 4414ad9a26 | |||
| db949ace34 | |||
| 68e4571077 | |||
| 1d3eaf451f | |||
| e8ccd78a39 | |||
| 3324865570 | |||
| 9e42d4676a | |||
| 6bb83e186d | |||
| 6923440a89 | |||
| 8d39b4938a | |||
| b40f5cc0c4 |
7
pom.xml
7
pom.xml
@@ -9,11 +9,14 @@
|
||||
<relativePath/> <!-- lookup parent from repository -->
|
||||
</parent>
|
||||
<!-- 打包文件名版本信息 -->
|
||||
|
||||
<groupId>com.kimgo</groupId>
|
||||
<artifactId>wePush</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.1.3</version>
|
||||
<name>wePush</name>
|
||||
<description>wePush</description>
|
||||
<description>Added new function, WeChat notification forwarding</description>
|
||||
|
||||
|
||||
<properties>
|
||||
<java.version>17</java.version>
|
||||
</properties>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
spring:
|
||||
profiles:
|
||||
active: dev
|
||||
active: prod
|
||||
@@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,6 +13,7 @@ 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.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user