Skip to content

Commit 0034772

Browse files
committed
Fix test
1 parent 8958fa3 commit 0034772

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/firestore/test/unit/remote/rest_connection.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ describe('RestConnection', () => {
9696
'Content-Type': 'text/plain',
9797
'X-Firebase-GMPID': 'test-app-id',
9898
'X-Goog-Api-Client': `gl-js/ fire/${SDK_VERSION}`,
99-
'x-firebase-appcheck': 'some-app-check-token'
99+
'x-firebase-appcheck': 'some-app-check-token',
100+
'x-goog-request-params': 'project_id=testproject&database_id=(default)'
100101
});
101102
});
102103

@@ -111,7 +112,8 @@ describe('RestConnection', () => {
111112
expect(connection.lastHeaders).to.deep.equal({
112113
'Content-Type': 'text/plain',
113114
'X-Firebase-GMPID': 'test-app-id',
114-
'X-Goog-Api-Client': `gl-js/ fire/${SDK_VERSION}`
115+
'X-Goog-Api-Client': `gl-js/ fire/${SDK_VERSION}`,
116+
'x-goog-request-params': 'project_id=testproject&database_id=(default)'
115117
// Note: AppCheck token should not exist here.
116118
});
117119
});

0 commit comments

Comments
 (0)