diff --git a/app/controllers/api/storage.php b/app/controllers/api/storage.php index 90410f8800..4075c28561 100644 --- a/app/controllers/api/storage.php +++ b/app/controllers/api/storage.php @@ -233,7 +233,7 @@ App::put('/v1/storage/buckets/:bucketId') ->inject('dbForProject') ->inject('audits') ->inject('usage') - ->action(function ($bucketId, $name, $permission, $read, $write, $maximumFileSize, $allowedFileExtensions, $enabled, $encryption, $antivirus, $response, $dbForProject, $audits, $usage) { + ->action(function ($bucketId, $name, $permission, $read, $write, $enabled, $maximumFileSize, $allowedFileExtensions, $encryption, $antivirus, $response, $dbForProject, $audits, $usage) { /** @var Appwrite\Utopia\Response $response */ /** @var Utopia\Database\Database $dbForProject */ /** @var Appwrite\Event\Event $audits */ diff --git a/tests/e2e/Services/Storage/StorageCustomServerTest.php b/tests/e2e/Services/Storage/StorageCustomServerTest.php index cc9ed9f75e..75175369d4 100644 --- a/tests/e2e/Services/Storage/StorageCustomServerTest.php +++ b/tests/e2e/Services/Storage/StorageCustomServerTest.php @@ -36,7 +36,6 @@ class StorageCustomServerTest extends Scope $this->assertEquals(true, $bucket['body']['enabled']); $this->assertEquals(true, $bucket['body']['encryption']); $this->assertEquals(true, $bucket['body']['antivirus']); - $this->assertEquals('local', $bucket['body']['adapter']); $bucketId = $bucket['body']['$id']; /**