diff --git a/tests/e2e/Services/Storage/StorageCustomClientTest.php b/tests/e2e/Services/Storage/StorageCustomClientTest.php index 1ddd8bd57c..215df8627f 100644 --- a/tests/e2e/Services/Storage/StorageCustomClientTest.php +++ b/tests/e2e/Services/Storage/StorageCustomClientTest.php @@ -1644,7 +1644,7 @@ final class StorageCustomClientTest extends Scope 'x-appwrite-project' => $this->getProject()['$id'], ], $this->getHeaders())); $this->assertEquals(200, $response['headers']['status-code']); - $this->assertEquals(['shared/'], \array_column($response['body']['folders'], 'key')); + $this->assertSame(['shared/'], \array_column($response['body']['folders'], 'key')); $response = $this->client->call(Client::METHOD_DELETE, '/storage/buckets/' . $bucketId, [ 'content-type' => 'application/json', diff --git a/tests/unit/Utopia/Database/Validator/FolderTest.php b/tests/unit/Utopia/Database/Validator/FolderTest.php index d645788bb2..c95165ef74 100644 --- a/tests/unit/Utopia/Database/Validator/FolderTest.php +++ b/tests/unit/Utopia/Database/Validator/FolderTest.php @@ -48,9 +48,9 @@ final class FolderTest extends TestCase public function testNormalize(): void { - $this->assertEquals('', Folder::normalize('')); - $this->assertEquals('photos/', Folder::normalize('photos')); - $this->assertEquals('photos/', Folder::normalize('photos/')); - $this->assertEquals('photos/2026/', Folder::normalize('photos/2026')); + $this->assertSame('', Folder::normalize('')); + $this->assertSame('photos/', Folder::normalize('photos')); + $this->assertSame('photos/', Folder::normalize('photos/')); + $this->assertSame('photos/2026/', Folder::normalize('photos/2026')); } }