Skip to content
Snippets Groups Projects
Commit e341e50c authored by Pierre Ecarlat's avatar Pierre Ecarlat
Browse files

Updated account format in mocks

parent 5d33f974
Branches
No related tags found
1 merge request!1223feat(water): Setup the connection screens for efluid
......@@ -38,11 +38,13 @@ const dataGrdfAccount = JSON.stringify({
id: GRDF_ACCOUNT_ID,
account_type: 'grdfgrandlyon',
auth: {
credentials_encrypted:
'bmFjbMKrNCS+4Liakxdu+xNu9I3sSyvda8iAp0o3U3OAymbIeoLhLtxPdsa+3mu/8yTnDudBcJo=',
login: 'test',
pce: '12345678901234',
email: 'jane@grandlyon.com',
lastname: 'Doe',
firstname: 'Jane',
postalCode: '69003',
},
identifier: 'login',
identifier: 'email',
state: null,
})
......@@ -51,11 +53,10 @@ const dataEglAccount = JSON.stringify({
id: EGL_ACCOUNT_ID,
account_type: 'eglgrandlyon',
auth: {
credentials_encrypted:
'bmFjbHI5OoL+VNCT6JDFYea1dNiBGGNJM1zY0M4uWcjhALJcQT9uk9p9WPD7+1OryCAoYf9eaSE=',
login: 'test',
contractId: '1234567',
meteringId: '123456789ABC',
},
identifier: 'login',
identifier: 'contractId',
state: null,
})
......
......@@ -25,17 +25,17 @@ export const accountsData: Account[] = [
expirationDate: '2023-09-26',
offPeakHours: '22H00-6H00',
},
identifier: 'address',
},
{
_id: '90e68b8450cee09fe2f077610901094d',
id: '90e68b8450cee09fe2f077610901094d',
account_type: 'eglgrandlyon',
auth: {
credentials_encrypted:
'bmFjbHI5OoL+VNCT6JDFYea1dNiBGGNJM1zY0M4uWcjhALJcQT9uk9p9WPD7+1OryCAoYf9eaSE=',
login: 'test',
contractId: '1234567',
meteringId: '123456789ABC',
},
identifier: 'login',
identifier: 'contractId',
state: null,
_rev: '1-90e68b8450cee09fe2f077610901094d',
_type: 'io.cozy.accounts',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment