Skip to content

Commit 94cb82a

Browse files
committed
debugging: where 400 error coming from?
1 parent c05beef commit 94cb82a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

run/idp-sql/test/system.test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ describe('System Tests', () => {
9191
}
9292

9393
// Retrieve ID token for testing
94+
95+
console.log('Retrieving IDP token...');
9496
const customToken = await admin.auth().createCustomToken('a-user-id');
9597
const response = await got(
9698
`https://identitytoolkit.googleapis.com/v1/accounts:signInWithCustomToken?key=${IDP_KEY}`,
@@ -111,6 +113,8 @@ describe('System Tests', () => {
111113
const tokens = JSON.parse(response.body);
112114
CUSTOM_TOKEN = tokens.idToken;
113115
if (!CUSTOM_TOKEN) throw Error('Unable to acquire an IDP token.');
116+
117+
console.log('Retrieved IDP token');
114118
});
115119

116120
after(() => {

0 commit comments

Comments
 (0)