KamoCRM

AliasResponseMemberIsTextTest's session carries the right createAlias now needs

TestEmailService
Shipped
September 23, 2026 at 8:15 AM UTC
Author
Kamo
Commit
c48a3d8

The full suite caught what the targeted run alone would not have: this fixture's session had no rights on it, so createAlias's new MANAGE_EMAIL_ACCOUNTS gate 403'd before **************** assertions ever ran. This class is about the response shape (memberId as text), not about rights, so the fix is the fixture holding the right throughout rather than a bare session — matching how an admin actually exercising this flow is authorized.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing