Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
unit(user): ensure updating user works as expected
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethTrecy committed Nov 14, 2022
1 parent fc9a77f commit 176f2fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pages/user/read.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,19 @@ describe("Page: user/read", () => {
const user = {
"data": {
"department": userDepartment,
"kind": "reachable_employee",
"name": "Sample User",
"roles": userRoles
}
}
const userProfile = {
"data": {
"department": userDepartment,
"roles": {
"data": [
{
"name": "A",
"userFlags": 0
"userFlags": permissionGroup.generateMask(...UPDATE_ANYONE_ON_ALL_DEPARTMENTS)
}
]
}
Expand Down

0 comments on commit 176f2fc

Please sign in to comment.