mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
auth.test.js test locale white User/locale
This commit is contained in:
parent
7d2801a636
commit
bbfc5294ea
@ -13,6 +13,7 @@ const currentUser = {
|
||||
email: 'user@example.org',
|
||||
avatar: 'https://s3.amazonaws.com/uifaces/faces/twitter/mutu_krish/128.jpg',
|
||||
role: 'user',
|
||||
locale: 'de',
|
||||
}
|
||||
const successfulLoginResponse = { data: { login: token } }
|
||||
const successfulCurrentUserResponse = { data: { currentUser } }
|
||||
@ -126,6 +127,7 @@ describe('actions', () => {
|
||||
email: 'user@example.org',
|
||||
avatar: 'https://s3.amazonaws.com/uifaces/faces/twitter/mutu_krish/128.jpg',
|
||||
role: 'user',
|
||||
locale: 'de',
|
||||
},
|
||||
],
|
||||
]),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user