Skip to content

Commit

Permalink
run/logging-manual: got v11 API usage change (#1762)
Browse files Browse the repository at this point in the history
Co-authored-by: F. Hinkelmann <[email protected]>
  • Loading branch information
grayside and fhinkel authored May 1, 2020
1 parent f67bf5e commit 7e5ebe3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions run/logging-manual/test/system.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,16 @@ describe('Logging', () => {
const {BASE_URL, ID_TOKEN} = process.env;
if (!BASE_URL) {
throw Error(
'"BASE_URL" environment variable is required. For example: https://service-x8xabcdefg-uc.a.run.app.'
'"BASE_URL" environment variable is required. For example: https://service-x8xabcdefg-uc.a.run.app'
);
}

if (!ID_TOKEN) {
throw Error('"ID_TOKEN" environment variable is required.');
}
await request('/', {
prefixUrl: BASE_URL.trim(),

console.log(`Sending test requests to ${BASE_URL}`);
await request(BASE_URL.trim(), {
headers: {
Authorization: `Bearer ${ID_TOKEN.trim()}`,
},
Expand Down

0 comments on commit 7e5ebe3

Please sign in to comment.