Skip to content

Commit dcacfca

Browse files
committed
test(storage): fix requester pays system test
1 parent 13b9afe commit dcacfca

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

storage/system-test/requesterPays.test.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,7 @@ it.skip('should error on requester-pays requests if they are disabled', () => {
5353
const result = execSync(
5454
`node downloadFileUsingRequesterPays.js ${projectId} ${bucketName} ${fileName} ${downloadFilePath}`
5555
);
56-
assert.ok(result.stderr);
57-
assert.match(
58-
result.stderr,
59-
/User project prohibited for non requester pays bucket/
60-
);
56+
assert.match(result, /User project prohibited for non requester pays bucket/);
6157
});
6258

6359
it('should fetch requester-pays status on a default bucket', () => {

0 commit comments

Comments
 (0)