From 4dc537e5e028c5dee5793d7c8385a9957a00dc57 Mon Sep 17 00:00:00 2001 From: Alexander Chan Date: Tue, 6 Feb 2018 15:25:22 -0800 Subject: [PATCH] FX: GCP PUT API Test Fixes the use of an undefined variable that leads to creation of buckets that aren't deleted on GCP. --- tests/functional/raw-node/test/GCP/object/put.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/raw-node/test/GCP/object/put.js b/tests/functional/raw-node/test/GCP/object/put.js index 178e5cb57e..2df59af83f 100644 --- a/tests/functional/raw-node/test/GCP/object/put.js +++ b/tests/functional/raw-node/test/GCP/object/put.js @@ -58,7 +58,7 @@ describe('GCP: PUT Object', function testSuite() { this.currentTest.key = `somekey-${Date.now()}`; gcpRequestRetry({ method: 'PUT', - bucket: this.currentTest.bucketName, + bucket: bucketName, objectKey: this.currentTest.key, authCredentials: config.credentials, }, 0, (err, res) => {