mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-23 16:33:28 +00:00
51106841ab
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
34 lines
667 B
TypeScript
34 lines
667 B
TypeScript
export const loginMock = {
|
|
email: "some@email.tld",
|
|
password: "somepassword",
|
|
};
|
|
|
|
export const loginResponseMock = {
|
|
data: {
|
|
login: {
|
|
__typename: "Login",
|
|
accessToken: "some access token",
|
|
refreshToken: "some refresh token",
|
|
user: {
|
|
__typename: "User",
|
|
email: "some@email.tld",
|
|
id: "1",
|
|
role: "ADMINISTRATOR",
|
|
},
|
|
},
|
|
},
|
|
};
|
|
|
|
export const resetPasswordResponseMock = {
|
|
data: {
|
|
resetPassword: {
|
|
__typename: "Login",
|
|
accessToken: "some access token",
|
|
refreshToken: "some refresh token",
|
|
user: {
|
|
__typename: "User",
|
|
id: "1",
|
|
},
|
|
},
|
|
},
|
|
};
|