From aa66bc473297b167419119e6e196d66609f72768 Mon Sep 17 00:00:00 2001 From: Pragati Date: Sun, 15 Oct 2023 23:18:15 -0700 Subject: [PATCH] format `projectId` placeholder --- test/integration/auth.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/auth.spec.ts b/test/integration/auth.spec.ts index bf1ce083b6..1cbbd42b3b 100644 --- a/test/integration/auth.spec.ts +++ b/test/integration/auth.spec.ts @@ -2200,8 +2200,8 @@ describe('admin.auth', () => { describe('Passkey config management operations', () => { // Define expected passkey configuration const expectedPasskeyConfig = { - name: 'projects/{$projectId}/passkeyConfig', - rpId: '{$projectId}.firebaseapp.com', + name: 'projects/' + projectId + '/passkeyConfig', + rpId: projectId + '.firebaseapp.com', expectedOrigins: ['app1', 'example.com'], }; @@ -2212,7 +2212,7 @@ describe('admin.auth', () => { }); it('createPasskeyConfig() should create passkey config with expected passkeyConfig', async () => { - const rpId = '{$projectId}.firebaseapp.com'; + const rpId = projectId + '.firebaseapp.com'; const createRequest = { expectedOrigins: ['app1', 'example.com'] }; const createdPasskeyConfig = await getAuth().passkeyConfigManager().createPasskeyConfig(rpId, createRequest);