Newer
Older
export const TEST_USER = 'test-user'
export const TEST_PASSWORD = 'test-password'
export const TEST_SESSION_TOKEN = 'test-session-token'
piotr.kupczyk@id.ethz.ch
committed
export const TEST_USER_DTO = {
userId: 'test-user',
firstName: 'test-first-name',
lastName: 'test-last-name'
}
piotr.kupczyk@id.ethz.ch
committed
export const ANOTHER_USER_DTO = {
userId: 'another-user',
firstName: 'another-first-name',
lastName: 'another-last-name'
}
piotr.kupczyk@id.ethz.ch
committed
export const ALL_USERS_GROUP_DTO = {
piotr.kupczyk@id.ethz.ch
committed
users: [TEST_USER_DTO, ANOTHER_USER_DTO]
piotr.kupczyk@id.ethz.ch
committed
export const TEST_GROUP_DTO = {
piotr.kupczyk@id.ethz.ch
committed
users: [TEST_USER_DTO]
piotr.kupczyk@id.ethz.ch
committed
export const ANOTHER_GROUP_DTO = {
piotr.kupczyk@id.ethz.ch
committed
users: [ANOTHER_USER_DTO]
piotr.kupczyk@id.ethz.ch
committed
}
piotr.kupczyk@id.ethz.ch
committed
export function object(type, id) {
piotr.kupczyk@id.ethz.ch
committed
return { type, id }