test: add tests for recovery codes event reducers (#11773)

# Which Problems Are Solved

Add integration tests for recovery codes event reducers in the RT model.

# How the Problems Are Solved

Added integration tests for recovery codes event reducers

# Additional Changes

N/A

# Additional Context
- Closes https://github.com/zitadel/zitadel/issues/11707
- Todo: add tests for other reducers in the `users_relational`
projection.

---------

Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
Gayathri Vijayan
2026-03-09 10:40:02 +00:00
committed by GitHub
co-authored by Livio Spring
parent 282b2486d9
commit 3f258953ce
2 changed files with 225 additions and 0 deletions
@@ -424,6 +424,7 @@ func (p *userRelationalProjection) Reducers() []handler.AggregateReducer {
Event: user.HumanInviteCheckFailedType,
Reduce: p.reduceInviteCheckFailed,
},
// recovery code reducers
{
Event: user.HumanRecoveryCodesAddedType,
Reduce: p.reduceRecoveryCodesAdded,