senke
|
3d5edd1ff2
|
[BE-TEST-007] test: Add unit tests for webhook handlers
- Added comprehensive unit tests for all webhook handler methods:
* RegisterWebhook (success, invalid URL, no events, unauthorized)
* ListWebhooks (success)
* DeleteWebhook (success, not found, invalid ID)
* GetWebhookStats (success)
* TestWebhook (success, not found)
* RegenerateAPIKey (success, not found, invalid ID)
- Fixed validation bug in BindAndValidateJSON to properly return errors for binding validation failures
- Fixed compilation errors in profile_handler_test.go and room_handler_test.go
- All tests passing
|
2025-12-25 01:32:54 +01:00 |
|