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

rCE Unit Tests #13547

Open
wants to merge 6 commits into
base: phone-auth-login
Choose a base branch
from
Open

rCE Unit Tests #13547

wants to merge 6 commits into from

Conversation

pragatimodi
Copy link
Contributor

@pragatimodi pragatimodi commented Aug 27, 2024

Recaptcha Enterprise Unit Testing

  • Enforce: Success
  • Enforce: Invalid Token
  • Enforce: recaptchaSDKNotLinked
  • Enforce: actionCreationFailed

@google-oss-bot
Copy link

1 Warning
⚠️ Did you forget to add a changelog entry? (Add #no-changelog to the PR description to silence this warning.)

Generated by 🚫 Danger

@pragatimodi pragatimodi changed the base branch from phone-auth-login to main September 3, 2024 23:44
@pragatimodi pragatimodi changed the base branch from main to phone-auth-login September 3, 2024 23:45
author Pragati <[email protected]> 1724775429 -0700
committer Pragati <[email protected]> 1725423960 -0700

Unit Tests

drafted tests

adding mock rce enforce test

remove wip test

add error cases

lint changes

line

fix CI failures

modifying objc methods to use swift implementations

remove ios only enablement enum

address PR feedback

adding mock rce enforce test

lint changes

modifying objc methods to use swift implementations

remove ios only enablement enum

add/remove rebasing changes
@pragatimodi pragatimodi changed the title Unit Tests rCE Unit Tests Sep 4, 2024
Copy link
Contributor

@Xiaoshouzi-gh Xiaoshouzi-gh left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you for adding this!

uiDelegate: nil,
recaptchaVerifier: mockVerifier
)
// XCTAssertEqual(result, kTestVerificationID)

Choose a reason for hiding this comment

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

very minor: we can remove this commented line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants