-
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
11 changed files
with
1 addition
and
140 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
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
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
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 |
---|---|---|
|
@@ -37,7 +37,6 @@ const mockUser = { | |
} | ||
], | ||
username: 'jw.doe', | ||
identifiers: [{ system: 'NID', value: '1234' }], | ||
email: '[email protected]', | ||
mobile: '+880123445568', | ||
systemRole: 'LOCAL_REGISTRAR', | ||
|
@@ -193,7 +192,6 @@ describe('updateUser handler', () => { | |
family: 'Doe' | ||
} | ||
], | ||
identifiers: [{ system: 'NID', value: '1234' }], | ||
email: '[email protected]', | ||
mobile: '+880123445568', | ||
systemRole: 'REGISTRATION_AGENT', | ||
|
@@ -237,7 +235,6 @@ describe('updateUser handler', () => { | |
family: 'Doe' | ||
} | ||
], | ||
identifiers: [{ system: 'NID', value: '1234' }], | ||
email: '[email protected]', | ||
mobile: '+880123111111', | ||
systemRole: 'FIELD_AGENT', | ||
|
@@ -352,7 +349,6 @@ describe('updateUser handler', () => { | |
family: 'Doe' | ||
} | ||
], | ||
identifiers: [{ system: 'NID', value: '1234' }], | ||
email: '[email protected]', | ||
mobile: '+880123445568', | ||
systemRole: 'FIELD_AGENT', | ||
|
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