-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove NID field from the user details form
Remove the question that asks the user for a national ID number in this form as it is not required #6830
- Loading branch information
Showing
9 changed files
with
1 addition
and
10,675 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,6 @@ const MOCK_USER: IUserModelData = { | |
} | ||
], | ||
username: 'd.bulaya', | ||
identifiers: [], | ||
email: '', | ||
device: 'Samsung Galaxy S9', | ||
emailForNotification: '[email protected]', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,6 @@ describe('User type resolvers', () => { | |
username: 'tamim.iqlbal', | ||
mobile: '+8801711111111', | ||
email: '[email protected]', | ||
identifiers: [{ system: 'NATIONAL_ID', value: '1010101010' }], | ||
systemRole: 'REGISTRATION_AGENT', | ||
scope: ['certify'], | ||
status: 'active', | ||
|
@@ -90,13 +89,6 @@ describe('User type resolvers', () => { | |
const res = userTypeResolvers.User!.underInvestigation(mockResponse) | ||
expect(res).toBeTruthy() | ||
}) | ||
it('return user identifier', () => { | ||
const res = userTypeResolvers.User!.identifier(mockResponse) | ||
expect(res).toEqual({ | ||
system: mockResponse.identifiers[0].system, | ||
value: mockResponse.identifiers[0].value | ||
}) | ||
}) | ||
it('return primaryOffice type', async () => { | ||
const mockOffice = { | ||
resourceType: 'Location', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.