mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-18 11:15:12 +00:00
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:
co-authored by
Livio Spring
parent
282b2486d9
commit
3f258953ce
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user