diff --git a/app/controllers/api/storage.php b/app/controllers/api/storage.php index 32ad32b888..79630978d9 100644 --- a/app/controllers/api/storage.php +++ b/app/controllers/api/storage.php @@ -2,7 +2,6 @@ use Ahc\Jwt\JWT; use Ahc\Jwt\JWTException; -use Appwrite\Auth\Auth; use Appwrite\ClamAV\Network; use Appwrite\Event\Delete; use Appwrite\Event\Event; diff --git a/tests/unit/Utopia/Database/Documents/UserTest.php b/tests/unit/Utopia/Database/Documents/UserTest.php index a1f4a207e8..d5706e7bec 100644 --- a/tests/unit/Utopia/Database/Documents/UserTest.php +++ b/tests/unit/Utopia/Database/Documents/UserTest.php @@ -14,7 +14,6 @@ use Utopia\Database\Validator\Roles; class UserTest extends TestCase { - private $authorization; public function getAuthorization(): Authorization @@ -274,7 +273,7 @@ class UserTest extends TestCase // Enable single verification type $user['emailVerification'] = true; - $roles = $user->getRoles($this->getAuthorization() ); + $roles = $user->getRoles($this->getAuthorization()); $this->assertContains(Role::users(Roles::DIMENSION_VERIFIED)->toString(), $roles); $this->assertContains(Role::user(ID::custom('123'), Roles::DIMENSION_VERIFIED)->toString(), $roles); }