Commit Graph
49 Commits
Author SHA1 Message Date
liyang ae7b38c164 + [unittest] add cid. 2025-11-14 13:05:25 +08:00
liugangandClaude c5d0eec6a1 + [misc] Add unit tests for webhookZen::getResponse() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 17:45:46 +08:00
liugang c8c0327b04 - [misc] Delete the failed unit test scripts generated by Claude Code. 2025-11-05 14:35:27 +08:00
liugangandClaude 9ce46a456e * [misc] Fix unit tests for webhookModel::fetchHook() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-29 16:41:48 +08:00
liugangandClaude 2da6d9e05a * [misc] Enhance unit tests for webhookModel::getOpenIdList() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 12:26:30 +08:00
liugangandClaude a44aae1a71 * [misc] Enhance unit tests for webhookModel::saveLog() method
- Improved test coverage from 4 to 7 test steps
- Added comprehensive validation for all fields (objectType, objectID, action, url, contentType, data, result)
- Added edge case testing (empty data/result, special characters)
- Added return value validation
- Improved test assertions for better accuracy

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:42 +08:00
liugangandClaude b7c6967976 * [misc] Enhance unit tests for webhookModel::saveLog() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:42 +08:00
liugangandClaude 2801517de1 * [misc] Enhance unit tests for webhookModel::getWeixinData() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:42 +08:00
liugangandClaude e059ca6a9e * [misc] Enhance unit tests for webhookModel::getViewLink() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:42 +08:00
liugangandClaude 2a6d8be30b * [misc] Enhance unit tests for webhookModel::getLogList() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:42 +08:00
liugangandClaude d38609beb8 * [misc] Enhance unit tests for webhookModel::getList() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:42 +08:00
liugangandClaude d44fc90323 * [misc] Enhance unit tests for webhookModel::getBindAccount() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:41 +08:00
liugangandClaude a81c96cb49 + [misc] Enhance unit tests for webhookModel::buildData() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:41 +08:00
liugangandClaude 298135a474 * [misc] Enhance unit tests for webhookModel::bind() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 09:16:41 +08:00
liugangandClaude 6c2ddbf639 + [misc] Add unit tests for webhookZen::getBoundUseridPairs() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-19 11:06:09 +08:00
liugangandClaude b8f2b153e2 + [misc] Add unit tests for webhookZen::getResponse() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-19 11:06:09 +08:00
liugangandClaude 727958accb + [misc] Add unit tests for webhookTao::getActionText() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:46 +08:00
liugangandClaude d9060b1380 + [misc] Add unit tests for webhookTao::getFeishuSecret() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:46 +08:00
liugangandClaude fbc3d3a204 + [misc] Add unit tests for webhookTao::getWeixinSecret() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:46 +08:00
liugangandClaude ef35543376 + [misc] Add unit tests for webhookTao::getDingdingSecret() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:46 +08:00
liugangandClaude c6a71152e3 + [misc] Add unit tests for webhookTao::sendToUser() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:09:40 +08:00
liugangandClaude 66744d7a0c + [misc] Add unit tests for webhookModel::sendToUser() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:28 +08:00
liugangandClaude eb2aa73c04 + [misc] Add unit tests for webhookModel::fetchHook() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:28 +08:00
liugangandClaude eeb3e41e6f + [misc] Add unit tests for webhookModel::getDataByType() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:28 +08:00
sunguangming 5c3cf9f9dc * [unittest] modify unittest. 2025-08-19 09:15:34 +00:00
sunguangming 24920e5ac1 * [unittest] modify unittest. 2025-08-19 09:01:01 +00:00
sunguangming 54eae795cc * [unittest] modify unittest. 2025-08-19 08:22:37 +00:00
sunguangming 26d348589d * [unittest] modify unittest. 2025-06-30 06:28:40 +00:00
wangyidong a0a303506f * [unittest] Adjust code for unittest. 2025-06-30 10:59:33 +08:00
tianshujie 99b02b508c * [unittest] fix getdatalist error. 2025-06-20 14:58:27 +08:00
liumengyi 88c1586697 * [test] modify unit test. 2024-07-17 14:46:47 +08:00
liyang 354c300c86 * Modify unit test directory structure and data generation method. 2024-04-22 14:25:50 +08:00
sunguangming b55f57c9da * Fix webhook's unit test. 2024-01-04 14:46:44 +08:00
sunguangming 25822d605d * Modify webhook unit test. 2023-12-21 18:53:21 +08:00
sunguangming 7806e665a8 * webhook: refactor setSentStatus|saveLog. 2023-12-21 18:35:31 +08:00
sunguangming e3a124dece * webhook: refactor saveData. 2023-12-21 18:05:48 +08:00
sunguangming abb680ac36 * webhook: refactor fetchHook. 2023-12-21 16:58:41 +08:00
sunguangming bd16c078a1 * webhook: refactor webhook. 2023-12-21 16:05:24 +08:00
sunguangming b3ac3b25fa * webhook: refactor model. 2023-12-21 15:19:21 +08:00
sunguangming 01c5d29f03 * webhook: refactor getBoundUsers(). 2023-12-21 14:43:22 +08:00
sunguangming a51a9fba80 * webhook: modify unit test. 2023-12-21 14:28:49 +08:00
sunguangming 7a158609af * webhook: refactor getLogList(). 2023-12-21 14:02:20 +08:00
sunguangming 1f08a15615 * webhook: refactor funcs, add unit test. 2023-12-21 13:32:48 +08:00
sunguangming aa25196c97 * webhook: modify unit test. 2023-12-21 09:16:49 +08:00
sunguangming 9a4a5e9adf * webhook: split create(), add unit test. 2023-12-20 19:46:44 +08:00
zhouxin 7b7668136b * Batch fix illegal comment. 2023-05-25 17:07:43 +08:00
zhouxin abdc53f20a * Batch fix illegal comment. 2023-05-25 15:38:56 +08:00
zhouxin 77a2da90d9 * Batch modify quote for unit test. 2023-05-25 13:43:27 +08:00
zhouxin 4efea42989 + Move unit test from test directory to each module. 2023-04-24 02:16:47 +00:00