From 740c88d43e58bd1077fa63c5f0460a385f6e9da4 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Mon, 17 Mar 2025 15:03:17 +0000 Subject: [PATCH] chore: fmt --- tests/e2e/General/UsageTest.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/e2e/General/UsageTest.php b/tests/e2e/General/UsageTest.php index 62671a2209..074de67213 100644 --- a/tests/e2e/General/UsageTest.php +++ b/tests/e2e/General/UsageTest.php @@ -133,7 +133,7 @@ class UsageTest extends Scope { $requestsTotal = $data['requestsTotal']; - $this->assertEventually(function() use ($data) { + $this->assertEventually(function () use ($data) { $response = $this->client->call( Client::METHOD_GET, '/project/usage', @@ -154,7 +154,7 @@ class UsageTest extends Scope $this->assertArrayHasKey('bucketsBreakdown', $response['body']); }); - $this->assertEventually(function() { + $this->assertEventually(function () { $response = $this->client->call( Client::METHOD_GET, '/users/usage?range=90d', @@ -316,7 +316,7 @@ class UsageTest extends Scope $storageTotal = $data['storageTotal']; $filesTotal = $data['filesTotal']; - $this->assertEventually(function() use ($requestsTotal, $storageTotal) { + $this->assertEventually(function () use ($requestsTotal, $storageTotal) { $response = $this->client->call( Client::METHOD_GET, '/project/usage', @@ -335,7 +335,7 @@ class UsageTest extends Scope $this->assertEquals($storageTotal, $response['body']['filesStorageTotal']); }); - $this->assertEventually(function() use ($bucketsTotal, $storageTotal, $filesTotal) { + $this->assertEventually(function () use ($bucketsTotal, $storageTotal, $filesTotal) { $response = $this->client->call( Client::METHOD_GET, '/storage/usage?range=30d', @@ -350,7 +350,7 @@ class UsageTest extends Scope $this->validateDates($response['body']['files']); }); - $this->assertEventually(function() use ($bucketId, $storageTotal, $filesTotal) { + $this->assertEventually(function () use ($bucketId, $storageTotal, $filesTotal) { $response = $this->client->call( Client::METHOD_GET, '/storage/' . $bucketId . '/usage?range=30d', @@ -561,7 +561,7 @@ class UsageTest extends Scope $this->assertEquals($documentsTotal, $response['body']['documentsTotal']); }); - $this->assertEventually(function() use ($databasesTotal, $collectionsTotal, $documentsTotal) { + $this->assertEventually(function () use ($databasesTotal, $collectionsTotal, $documentsTotal) { $response = $this->client->call( Client::METHOD_GET, '/databases/usage?range=30d', @@ -576,7 +576,7 @@ class UsageTest extends Scope $this->validateDates($response['body']['documents']); }); - $this->assertEventually(function() use ($databaseId, $collectionsTotal, $documentsTotal) { + $this->assertEventually(function () use ($databaseId, $collectionsTotal, $documentsTotal) { $response = $this->client->call( Client::METHOD_GET, '/databases/' . $databaseId . '/usage?range=30d', @@ -590,7 +590,7 @@ class UsageTest extends Scope $this->validateDates($response['body']['documents']); }); - $this->assertEventually(function() use ($databaseId, $collectionId, $documentsTotal) { + $this->assertEventually(function () use ($databaseId, $collectionId, $documentsTotal) { $response = $this->client->call( Client::METHOD_GET, '/databases/' . $databaseId . '/collections/' . $collectionId . '/usage?range=30d',