Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-andersen committed Aug 23, 2023
1 parent ccffd19 commit 3603e2e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dev/test/util/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ if (!isPreferRest()) {
SSL_CREDENTIALS = grpc.credentials.createInsecure();
}

export const PROJECT_ID = 'xxx';
export const DATABASE_ROOT = `projects/${PROJECT_ID}/databases/db01`;
export const PROJECT_ID = 'test-project';
export const DATABASE_ROOT = `projects/${PROJECT_ID}/databases/(default)`;
export const COLLECTION_ROOT = `${DATABASE_ROOT}/documents/collectionId`;
export const DOCUMENT_NAME = `${COLLECTION_ROOT}/documentId`;

Expand All @@ -67,7 +67,6 @@ export function createInstance(
const initializationOptions = {
...{projectId: PROJECT_ID, sslCreds: SSL_CREDENTIALS!},
...firestoreSettings,
databaseId: 'db01',
};

const firestore = new Firestore();
Expand Down

0 comments on commit 3603e2e

Please sign in to comment.