Skip to content

Commit

Permalink
storage: tests: test for list instead of update permission (#2393)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus authored Jun 15, 2017
1 parent 394ef82 commit 0a699d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/storage/system-test/storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -537,15 +537,15 @@ 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) {
assert.ifError(err);

assert.deepEqual(permissions, {
'storage.buckets.get': true,
'storage.buckets.update': true
'storage.buckets.getIamPolicy': true
});

done();
Expand Down

0 comments on commit 0a699d3

Please sign in to comment.