lastName: "Doe",
uuid: "uuid",
ownerUuid: "ownerUuid",
- isAdmin: true
+ identityUrl: "identityUrl",
+ prefs: {},
+ isAdmin: false
};
const state = reducer(initialState, authActions.INIT({ user, token: "token" }));
expect(state).toEqual({
lastName: "Doe",
uuid: "uuid",
ownerUuid: "ownerUuid",
- isAdmin: true
+ identityUrl: "identityUrl",
+ prefs: {},
+ isAdmin: false
};
const state = reducer(initialState, authActions.USER_DETAILS_SUCCESS(user));
lastName: "Doe",
uuid: "uuid",
ownerUuid: "ownerUuid",
- isAdmin: true
+ isAdmin: false
}
});
});