More sensible mock date for UpdateEmail
This commit is contained in:
parent
e00ab03c19
commit
6a487b11ce
@ -473,8 +473,10 @@ export const kcContextMocks = [
|
||||
...kcContextCommonMock,
|
||||
"pageId": "update-email.ftl",
|
||||
"profile": {
|
||||
attributes,
|
||||
attributesByName
|
||||
"attributes": attributes.filter(attribute => attribute.name === "email"),
|
||||
"attributesByName": Object.fromEntries(
|
||||
attributes.filter(attribute => attribute.name === "email").map(attribute => [attribute.name, attribute])
|
||||
)
|
||||
}
|
||||
}),
|
||||
id<KcContext.SelectAuthenticator>({
|
||||
|
Loading…
x
Reference in New Issue
Block a user