2021-04-16 12:49:43 +00:00
|
|
|
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",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
2021-06-04 18:24:43 +00:00
|
|
|
|
|
|
|
export const resetPasswordResponseMock = {
|
|
|
|
data: {
|
|
|
|
resetPassword: {
|
|
|
|
__typename: "Login",
|
|
|
|
accessToken: "some access token",
|
|
|
|
refreshToken: "some refresh token",
|
|
|
|
user: {
|
|
|
|
__typename: "User",
|
|
|
|
id: "1",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|