Skip to content

Commit

Permalink
add missing hsesUserId
Browse files Browse the repository at this point in the history
  • Loading branch information
dcmcand committed Mar 24, 2021
1 parent 5da4fe7 commit 3bdb4e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions frontend/src/pages/Admin/__tests__/UserInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ describe('UserInfo', () => {
describe('with a full user object', () => {
beforeEach(() => {
const user = {
id: 8192,
email: 'email',
hsesUsername: 'User1',
name: 'first last',
hsesUsername: 'User8192',
hsesUserId: '8192',
name: 'User8192',
homeRegionId: 1,
role: 'Grantee Specialist',
lastLogin: '2021-02-09T16:15:00Z',
Expand Down
5 changes: 3 additions & 2 deletions src/services/users.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ describe('Users DB service', () => {
beforeEach(async () => {
await User.create({
id: 50,
name: 'user 1',
name: 'user 50',
hsesUsername: 'user50',
hsesUserId: '50',
});
await User.create({
id: 51,
name: 'user 2',
name: 'user 51',
hsesUsername: 'user51',
hsesUserId: '51',
});
Expand Down

0 comments on commit 3bdb4e0

Please sign in to comment.