Skip to content

fix: add test for obfuscate email and phone in GET profileDiff#2212

Merged
iamitprakash merged 2 commits intoRealDevSquad:developfrom
MayankBansal12:fix/test-obfuscate-email-phone-profileDiff
Oct 16, 2024
Merged

fix: add test for obfuscate email and phone in GET profileDiff#2212
iamitprakash merged 2 commits intoRealDevSquad:developfrom
MayankBansal12:fix/test-obfuscate-email-phone-profileDiff

Conversation

@MayankBansal12
Copy link
Copy Markdown
Member

Date: 16-10-2024

Developer Name: Mayank Bansal


Issue Ticket Number

#2206

Description

  • The PR add tests for obfuscation of email and phone in GET /profileDiff APIs.
  • File modified: profileDiffDev.test.js
  • Tests have been modified to use obfuscate func from utils/obfuscate.js to obfuscate original email and phone which are then compared with email and phone from the API response.

Documentation Updated?

  • Yes
  • No

Under Feature Flag

  • Yes
  • No

Database Changes

  • Yes
  • No

Breaking Changes

  • Yes
  • No

Development Tested?

  • Yes
  • No

Screenshots

Screenshot 1

Test Coverage

added_test
test_coverage

@iamitprakash iamitprakash merged commit 71f5b8d into RealDevSquad:develop Oct 16, 2024
@Achintya-Chatterjee Achintya-Chatterjee mentioned this pull request Oct 16, 2024
10 tasks
@MayankBansal12 MayankBansal12 deleted the fix/test-obfuscate-email-phone-profileDiff branch October 22, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants