From e3bc0b48e9982fa65b56ee48c3b69fe048edaf69 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Mon, 31 Jan 2022 16:17:29 +0545 Subject: [PATCH] fix removed and reordered attributes --- app/controllers/api/storage.php | 2 +- tests/e2e/Services/Storage/StorageCustomServerTest.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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']; /**