Skip to content

Commit 9b0f3c8

Browse files
Fix environmental variables
1 parent a94c87c commit 9b0f3c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions/helloworld/test/index.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ const pubsub = require(`@google-cloud/pubsub`)();
2424
const storage = require(`@google-cloud/storage`)();
2525

2626
const baseCmd = process.env.FUNCTIONS_CMD;
27-
const topicName = process.env.FUNCTIONS_TOPIC;
27+
const topicName = process.env.TOPIC;
2828

2929
const localFileName = `test.txt`;
3030
const fileName = `test-${uuid.v4()}.txt`;
3131

3232
const BASE_URL = process.env.BASE_URL;
3333

34-
const bucketName = process.env.FUNCTIONS_BUCKET;
34+
const bucketName = process.env.BUCKET;
3535
const bucket = storage.bucket(bucketName);
3636

3737
test.before(`Must specify BASE_URL`, t => {

0 commit comments

Comments
 (0)