-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove lang suffix for FamilyName field
We no longer need the suffixes for the FamilyName field since we not really using it anywhere #6830
- Loading branch information
Siyasanga Mtshokotsha
authored and
Siyasanga Mtshokotsha
committed
Oct 9, 2024
1 parent
f6d446e
commit ec80100
Showing
5 changed files
with
8 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1446,8 +1446,7 @@ export const mockCompleteFormData = { | |
accountDetails: '', | ||
assignedRegistrationOffice: '', | ||
device: '', | ||
familyName: 'হোসেন', | ||
familyNameEng: 'Hossain', | ||
familyName: 'Hossain', | ||
firstNames: 'Jeff', | ||
firstNamesEng: 'Jeff', | ||
nid: '123456789', | ||
|
@@ -1795,8 +1794,7 @@ export const mockDataWithRegistarRoleSelected = { | |
accountDetails: '', | ||
assignedRegistrationOffice: '', | ||
device: '', | ||
familyName: 'হোসেন', | ||
familyNameEng: 'Hossain', | ||
familyName: 'Hossain', | ||
firstNames: 'Jeff', | ||
firstNamesEng: 'Jeff', | ||
email: '[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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -230,7 +230,7 @@ describe('create new user tests', () => { | |
expect( | ||
testComponent | ||
.find(FormFieldGenerator) | ||
.find('#familyNameEng_error') | ||
.find('#familyName_error') | ||
.hostNodes() | ||
.text() | ||
).toBe('Required to register a new user') | ||
|
@@ -339,11 +339,6 @@ describe('edit user tests', () => { | |
username: 'shakib1', | ||
mobile: '+8801662132163', | ||
email: '[email protected]', | ||
identifier: { | ||
system: 'NATIONAL_ID', | ||
value: '101488192', | ||
__typename: 'Identifier' | ||
}, | ||
systemRole: 'NATIONAL_REGISTRAR', | ||
role: { _id: '63ef9466f708ea080777c27a' }, | ||
status: 'active', | ||
|
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