Skip to content

Commit

Permalink
format projectId placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
pragatimodi committed Oct 16, 2023
1 parent af0f3d1 commit aa66bc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/integration/auth.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
};

Expand All @@ -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);
Expand Down

0 comments on commit aa66bc4

Please sign in to comment.