mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
assertStringContainsString
This commit is contained in:
@@ -463,16 +463,7 @@ trait DatabasesBase
|
||||
]);
|
||||
|
||||
$this->assertEquals(400, $attribute['headers']['status-code']);
|
||||
|
||||
$this->assertTrue(
|
||||
in_array(
|
||||
$attribute['body']['message'],
|
||||
[
|
||||
'Index length is longer than the maximum: 767',
|
||||
'Index length is longer than the maximum: 768'
|
||||
]
|
||||
)
|
||||
);
|
||||
$this->assertStringContainsString('Index length is longer than the maximum: 76', $attribute['body']['message']);
|
||||
}
|
||||
|
||||
public function testUpdateAttributeEnum(): void
|
||||
|
||||
Reference in New Issue
Block a user