Merge branch 'feat-storage-buckets' into feat-sb-delete
This commit is contained in:
commit
474d8dd983
2 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
|
@ -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']
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in a new issue