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

Update multi-tenancy integration tests to run against auth emulator #1453

Merged
merged 3 commits into from
Oct 15, 2021

Conversation

lisajian
Copy link
Contributor

@lisajian lisajian commented Oct 12, 2021

Discussion

Update multi-tenancy integration tests to pass against auth emulator. Notable changes includes:

  • Not checking test phone numbers on tenant config object
  • Skipping tenant OIDC/SAML tests until it's supported in emulator

DO NOT LAND UNTIL: firebase/firebase-tools#3818 and firebase/firebase-tools#3822 is merged to mainline

Corresponding internal bug: b/192387245

Testing

  • npm run build in auth emulator, followed by node /Users/lisajian/dev/firebase-tools/lib/bin/firebase emulators:exec --project fake-project-id --only auth,database,firestore 'npx mocha \"test/integration/auth.spec.ts\" --slow 5000 --timeout 20000 --require ts-node/register --testMultiTenancy' passes in firebase-admin-node SDK

API Changes

N/A

test/integration/auth.spec.ts Outdated Show resolved Hide resolved
test/integration/auth.spec.ts Outdated Show resolved Hide resolved
test/integration/auth.spec.ts Outdated Show resolved Hide resolved
test/integration/auth.spec.ts Show resolved Hide resolved
test/integration/auth.spec.ts Outdated Show resolved Hide resolved
test/integration/auth.spec.ts Outdated Show resolved Hide resolved
test/integration/auth.spec.ts Show resolved Hide resolved
@lisajian lisajian merged commit b26501b into firebase:master Oct 15, 2021
@lisajian lisajian deleted the lj-deleteBody branch October 15, 2021 17:49
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.

None yet

2 participants