From 0a699d3d33736c5025b17d5df1accaccd43a5d07 Mon Sep 17 00:00:00 2001 From: Stephen Sawchuk Date: Thu, 15 Jun 2017 09:56:05 -0400 Subject: [PATCH] storage: tests: test for list instead of update permission (#2393) --- packages/storage/system-test/storage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/storage/system-test/storage.js b/packages/storage/system-test/storage.js index deb89c4a69b..3324e2e2a62 100644 --- a/packages/storage/system-test/storage.js +++ b/packages/storage/system-test/storage.js @@ -537,7 +537,7 @@ describe('storage', function() { it('should test the iam permissions', function(done) { var testPermissions = [ 'storage.buckets.get', - 'storage.buckets.update' + 'storage.buckets.getIamPolicy' ]; bucket.iam.testPermissions(testPermissions, function(err, permissions) { @@ -545,7 +545,7 @@ describe('storage', function() { assert.deepEqual(permissions, { 'storage.buckets.get': true, - 'storage.buckets.update': true + 'storage.buckets.getIamPolicy': true }); done();