test: Add 35 tests covering previously untested code paths #18

Merged
nrupard merged 1 commit from feat/even-more-tests into main 2026-03-23 20:51:50 +01:00
Member

Cover critical gaps: bcrypt-to-argon2id login migration, ban_user abuse
action (including admin protection), SaaS UUID-to-i64 JWT derivation,
account lockout expiry, click history recording, dangerous URL rejection
at handler level, and FK cascade deletion.

Create tests/integration_saas.rs with 6 end-to-end tests for SaaS mode
(shorten/redirect/stats, user isolation, maintenance webhook, non-member
blocking, abuse reports, URL deletion).

Add hmac/sha2/hex as dev-dependencies for SaaS integration test webhook
signing.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Cover critical gaps: bcrypt-to-argon2id login migration, ban_user abuse action (including admin protection), SaaS UUID-to-i64 JWT derivation, account lockout expiry, click history recording, dangerous URL rejection at handler level, and FK cascade deletion. Create tests/integration_saas.rs with 6 end-to-end tests for SaaS mode (shorten/redirect/stats, user isolation, maintenance webhook, non-member blocking, abuse reports, URL deletion). Add hmac/sha2/hex as dev-dependencies for SaaS integration test webhook signing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Cover critical gaps: bcrypt-to-argon2id login migration, ban_user abuse
action (including admin protection), SaaS UUID-to-i64 JWT derivation,
account lockout expiry, click history recording, dangerous URL rejection
at handler level, and FK cascade deletion.

Create tests/integration_saas.rs with 6 end-to-end tests for SaaS mode
(shorten/redirect/stats, user isolation, maintenance webhook, non-member
blocking, abuse reports, URL deletion).

Add hmac/sha2/hex as dev-dependencies for SaaS integration test webhook
signing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
nrupard deleted branch feat/even-more-tests 2026-03-23 20:51:50 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
a8n-tools/rus!18
No description provided.