Merge pull request #9356 from appwrite/catch-invalid-index

Fix patch index validation
This commit is contained in:
Jake Barnby 2025-02-13 22:56:28 +13:00 committed by GitHub
commit 7143bef111
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -463,7 +463,7 @@ trait DatabasesBase
]);
$this->assertEquals(400, $attribute['headers']['status-code']);
$this->assertEquals('Index length is longer than the maximum: 768', $attribute['body']['message']);
$this->assertStringContainsString('Index length is longer than the maximum: 76', $attribute['body']['message']);
}
public function testUpdateAttributeEnum(): void