OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
firebase
/
vendor
/
kreait
/
firebase-php
/
tests
/
Integration
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/12/2024 10:34:14 AM
rwxr-xr-x
📁
Auth
-
08/12/2024 10:35:40 AM
rwxr-xr-x
📄
AuthTest.php
24.98 KB
08/12/2024 10:34:13 AM
rw-r--r--
📁
Database
-
08/12/2024 10:35:40 AM
rwxr-xr-x
📄
DatabaseTest.php
646 bytes
08/12/2024 10:34:13 AM
rw-r--r--
📄
DatabaseTestCase.php
1.68 KB
08/12/2024 10:34:13 AM
rw-r--r--
📄
DynamicLinksTest.php
2.8 KB
08/12/2024 10:34:13 AM
rw-r--r--
📄
FirestoreTest.php
1.27 KB
08/12/2024 10:34:13 AM
rw-r--r--
📄
HttpLoggingTest.php
2.11 KB
08/12/2024 10:34:13 AM
rw-r--r--
📁
Messaging
-
08/12/2024 10:35:40 AM
rwxr-xr-x
📄
MessagingTest.php
13.24 KB
08/12/2024 10:34:13 AM
rw-r--r--
📄
RemoteConfigTest.php
10.89 KB
08/12/2024 10:34:13 AM
rw-r--r--
📁
Request
-
08/12/2024 10:35:40 AM
rwxr-xr-x
📄
StorageTest.php
1.01 KB
08/12/2024 10:34:13 AM
rw-r--r--
📄
TenantAwareAuthTest.php
1.89 KB
08/12/2024 10:34:13 AM
rw-r--r--
Editing: StorageTest.php
Close
<?php declare(strict_types=1); namespace Kreait\Firebase\Tests\Integration; use Google\Cloud\Storage\Bucket; use Kreait\Firebase\Contract\Storage; use Kreait\Firebase\Tests\IntegrationTestCase; /** * @internal */ final class StorageTest extends IntegrationTestCase { private Storage $storage; protected function setUp(): void { $this->storage = self::$factory->createStorage(); } public function testGetStorageClient(): void { $this->storage->getStorageClient(); $this->addToAssertionCount(1); } public function testGetBucket(): void { $this->assertInstanceOf(Bucket::class, $first = $this->storage->getBucket()); $this->assertSame($first, $this->storage->getBucket()); } public function testGetCustomBucket(): void { $this->assertInstanceOf(Bucket::class, $first = $this->storage->getBucket('custom')); $this->assertSame($first, $this->storage->getBucket('custom')); } }