Skip to content
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

Include in test the PRIVACY_NOTICES_READ field #129

Conversation

joninvski
Copy link

No description provided.

@@ -54,6 +54,7 @@ public Applicant createApplicant(String first_name)
.lastName("Last")
.email("first.last@gmail.com")
.phoneNumber("351911111111")
.putAdditionalProperty(ConsentItem.NameEnum.PRIVACY_NOTICES_READ.toString(), true)
Copy link
Author

Choose a reason for hiding this comment

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

What i can also do here is:

                .putAdditionalProperty(
                  ConsentItem.NameEnum.PRIVACY_NOTICES_READ.toString(), 
                  Map.of("granted", true)
               )

But it will also not work

@dvacca-onfido
Copy link
Contributor

dvacca-onfido commented Oct 17, 2024

@joninvski Closing this PR since using additional property accessor is not needed anymore after onfido-openapi-spec#126.

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