firebase-admin-node icon indicating copy to clipboard operation
firebase-admin-node copied to clipboard

More integration test for account defender

Open Xiaoshouzi-gh opened this issue 3 years ago • 0 comments

Added more integration test for account defender - Case 1 - Trying to disable recaptcha after account defender is enabled should return invalid-config error. This is tested by this PR. Case 2 - Trying to enable account defender when recaptcha is not enabled should return recaptcha-not-enabled error. This is tested by a previous approved change.

This PR is in draft mode because test needs to be verified after RestAPI is ready.

Discussion

  • Read the contribution guidelines (CONTRIBUTING.md).
  • If this has been discussed in an issue, make sure to link to the issue here. If not, go file an issue about this before creating a pull request to discuss.

Testing

  • Make sure all existing tests in the repository pass after your change.
  • If you fixed a bug or added a feature, add a new test to cover your code.

API Changes

  • At this time we cannot accept changes that affect the public API. If you'd like to help us make Firebase APIs better, please propose your change in an issue so that we can discuss it together.

Xiaoshouzi-gh avatar May 03 '22 22:05 Xiaoshouzi-gh