Closed eskour closed 3 months ago
Are we sure this is not half baked? For every new event we need to ensure that it fires correctly when the actual thing happens. For instance: do we know if the event for email change fires when the user does this from the minimal api, via the Identity UI on the Profile page etc.
The only way to test this is to create a test
The tests have been improved.
After further researching, we have the following observations:
EmailChangedEvent
and PhoneNumberChangedEvent
are triggered when using both MyAccount Controller and Minimal API endpointsManage / Profile
page triggers EmailChangedEvent
, but not PhoneNumberChangedEvent
Add
EmailChangedEvent
andPhoneNumberChangedEvent
. Useful for creating additional RiskEvents.