Skip to content

[MOB-14663] Remove AID generation logic.#52

Merged
kevinlind merged 5 commits intoadobe:dev-v3.0.3from
praveek:aidRemoval
Sep 10, 2021
Merged

[MOB-14663] Remove AID generation logic.#52
kevinlind merged 5 commits intoadobe:dev-v3.0.3from
praveek:aidRemoval

Conversation

@praveek
Copy link
Copy Markdown
Contributor

@praveek praveek commented Sep 9, 2021

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 9, 2021

Codecov Report

Merging #52 (8d21a1b) into dev-v3.0.3 (7202480) will decrease coverage by 1.20%.
The diff coverage is 100.00%.

@@              Coverage Diff               @@
##           dev-v3.0.3      #52      +/-   ##
==============================================
- Coverage       91.20%   90.00%   -1.20%     
==============================================
  Files              13       13              
  Lines            1170     1060     -110     
==============================================
- Hits             1067      954     -113     
- Misses            103      106       +3     

@praveek praveek requested a review from kevinlind September 9, 2021 17:36
Copy link
Copy Markdown
Contributor

@kevinlind kevinlind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unless I'm not seeing these tests, can you add tests to verify handleAnalyticsRequestIdentityEvent will dispatch

  1. AID = nil if no AID is persisted
  2. AID = value if AID is persisted

@praveek praveek requested a review from kevinlind September 10, 2021 04:05
@praveek
Copy link
Copy Markdown
Contributor Author

praveek commented Sep 10, 2021

Some of the tests are already present in AnalyticsIdTests. I have added more tests to cover other cases.

@kevinlind kevinlind merged commit 61bd4ca into adobe:dev-v3.0.3 Sep 10, 2021
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