1
0
Fork 0
mirror of synced 2024-09-06 12:51:43 +12:00

Merge branch 'feat-storage-buckets' into feat-sb-delete

This commit is contained in:
Damodar Lohani 2021-10-17 14:05:19 +05:45
commit 474d8dd983
2 changed files with 1 additions and 1 deletions

View file

@ -39,7 +39,6 @@ class StorageCustomClientTest extends Scope
], $this->getHeaders()), [ ], $this->getHeaders()), [
'fileId' => 'unique()', 'fileId' => 'unique()',
'file' => new CURLFile(realpath(__DIR__ . '/../../../resources/logo.png'), 'image/png', 'permissions.png'), 'file' => new CURLFile(realpath(__DIR__ . '/../../../resources/logo.png'), 'image/png', 'permissions.png'),
'folderId' => 'xyz',
]); ]);
$this->assertEquals($file['headers']['status-code'], 201); $this->assertEquals($file['headers']['status-code'], 201);

View file

@ -246,6 +246,7 @@ trait WebhooksBase
]), [ ]), [
'bucketId' => 'unique()', 'bucketId' => 'unique()',
'name' => 'Test Bucket', 'name' => 'Test Bucket',
'permission' => 'bucket',
'read' => ['role:all'], 'read' => ['role:all'],
'write' => ['role:all'] 'write' => ['role:all']
]); ]);