From e982fa9bd6661aa7e2aebc03a1ae669e4720b4ae Mon Sep 17 00:00:00 2001 From: Angel Caamal Date: Wed, 27 May 2026 20:30:24 +0000 Subject: [PATCH] test(appengine/storage): remove public ACL assignment to comply with public access prevention --- appengine/storage/flexible/system-test/app.test.js | 7 +------ .../flexible_nodejs16_and_earlier/system-test/app.test.js | 7 +------ appengine/storage/standard/system-test/app.test.js | 7 +------ 3 files changed, 3 insertions(+), 18 deletions(-) diff --git a/appengine/storage/flexible/system-test/app.test.js b/appengine/storage/flexible/system-test/app.test.js index ef8b88919a..1a446e8e63 100644 --- a/appengine/storage/flexible/system-test/app.test.js +++ b/appengine/storage/flexible/system-test/app.test.js @@ -32,12 +32,7 @@ const requestObj = supertest(proxyquire(path.join(cwd, 'app'), {process})); before(async () => { try { - await bucket.create(bucket).then(() => { - return bucket.acl.add({ - entity: 'allUsers', - role: Storage.acl.READER_ROLE, - }); - }); + await bucket.create(); } catch (err) { if ( !err.message.match( diff --git a/appengine/storage/flexible_nodejs16_and_earlier/system-test/app.test.js b/appengine/storage/flexible_nodejs16_and_earlier/system-test/app.test.js index 6145f170ee..bf7f573d01 100644 --- a/appengine/storage/flexible_nodejs16_and_earlier/system-test/app.test.js +++ b/appengine/storage/flexible_nodejs16_and_earlier/system-test/app.test.js @@ -32,12 +32,7 @@ const requestObj = supertest(proxyquire(path.join(cwd, 'app'), {process})); before(async () => { try { - await bucket.create(bucket).then(() => { - return bucket.acl.add({ - entity: 'allUsers', - role: Storage.acl.READER_ROLE, - }); - }); + await bucket.create(); } catch (err) { if ( !err.message.match( diff --git a/appengine/storage/standard/system-test/app.test.js b/appengine/storage/standard/system-test/app.test.js index 2a23cdf762..1e8cece4af 100644 --- a/appengine/storage/standard/system-test/app.test.js +++ b/appengine/storage/standard/system-test/app.test.js @@ -32,12 +32,7 @@ const requestObj = supertest(proxyquire(path.join(cwd, 'app'), {process})); before(async () => { try { - await bucket.create(bucket).then(() => { - return bucket.acl.add({ - entity: 'allUsers', - role: Storage.acl.READER_ROLE, - }); - }); + await bucket.create(); } catch (err) { if ( !err.message.match(