assertStringContainsString

This commit is contained in:
fogelito
2025-02-13 11:37:12 +02:00
parent 8778e2e666
commit e4ae0d463d
+1 -10
View File
@@ -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