dify/api/tests/unit_tests/services
Yeuoly b0f1e55a87 refactor: remove triggered_by field from webhook triggers and use automatic sync
- Remove triggered_by field from WorkflowWebhookTrigger model
- Replace manual webhook creation/deletion APIs with automatic sync via WebhookService
- Keep only GET API for retrieving webhook information
- Use same webhook ID for both debug and production environments (differentiated by endpoint)
- Add sync_webhook_relationships to automatically manage webhook lifecycle
- Update tests to remove triggered_by references
- Clean up unused imports and fix type checking issues

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 17:17:19 +08:00
..
auth orm filter -> where (#22801) 2025-07-24 00:57:45 +08:00
tools refactor: Fix some type error (#22594) 2025-07-18 09:26:29 +08:00
workflow orm filter -> where (#22801) 2025-07-24 00:57:45 +08:00
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
services_test_help.py Add unit test for account service (#22278) 2025-07-12 19:58:42 +08:00
test_account_service.py orm filter -> where (#22801) 2025-07-24 00:57:45 +08:00
test_clear_free_plan_tenant_expired_logs.py Update ast-grep pattern for session.query (#24828) 2025-08-31 17:03:51 +08:00
test_conversation_service.py fix: conversation pinned filter returns incorrect results when no conversations are pinned (#23670) 2025-08-09 22:40:28 +08:00
test_dataset_permission.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
test_dataset_service_batch_update_document_status.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
test_dataset_service_update_dataset.py Fix/replace datetime patterns with naive utc now (#22654) 2025-07-20 11:05:53 +08:00
test_metadata_bug_complete.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
test_metadata_nullable_bug.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
test_schedule_service.py refactor: remove triggered_by field from webhook triggers and use automatic sync 2025-09-10 17:17:19 +08:00
test_webhook_service.py chore: validate param type of application/json when call a webhook (#25074) 2025-09-03 15:49:07 +08:00