-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DIA-2061] childPmId
is saved to UserDefaults
when it comes in /meta-data
response
#444
Conversation
…meta-data` response
@andresilveirah this PR is ready for review! |
@Nevazhnovu I believe this PR doesn't contain enough tests to cover this feature. Here you're only testing that |
Example/ConsentViewController_ExampleTests/SPClientCoordinator/SPClientCoordinatorSpec.swift
Show resolved
Hide resolved
@@ -196,6 +196,28 @@ class UnmockedSourcepointClientSpec: QuickSpec { | |||
} | |||
} | |||
|
|||
describe("meta-data_groupPmId") { | |||
it("Check if groupPmId echo") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same goes here, since we already have a describe("meta-data")
you don't need to duplicate it, you can simply add the new it("...
to the existing describe
a few lines above.
@@ -42,8 +42,45 @@ class SPClientCoordinatorSpec: QuickSpec { | |||
) | |||
} | |||
|
|||
describe("selectPrivacyManagerId") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Nevazhnovu I believe this test doesn't belong to SPClientCoordinatorSpec
, but rather SPConsentManagerSpec
(feel free to create the file if that doesn't exist yet).
childPmId
no longer comes from messageschildPmId
which comes from/meta-data
toUserDefaults
childPmId