diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2022-09-22 08:48:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-22 08:48:42 +0200 |
commit | 92383fa1158da049bb0109833506c6bedcb205ea (patch) | |
tree | bf9bd490c368e0441e3e2c8475f315c75755d12a /tests/php | |
parent | 5a941eb5519b343be7065aaba89d1b77b21691d0 (diff) | |
parent | e110129acb6f9ad65df4315480a88053975009c3 (diff) |
Merge pull request #7924 from nextcloud/fix-room-length
Fix room length to make compatible with database length
Diffstat (limited to 'tests/php')
-rw-r--r-- | tests/php/Service/RoomServiceTest.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/php/Service/RoomServiceTest.php b/tests/php/Service/RoomServiceTest.php index 4ee95a622..4f8626263 100644 --- a/tests/php/Service/RoomServiceTest.php +++ b/tests/php/Service/RoomServiceTest.php @@ -192,6 +192,11 @@ class RoomServiceTest extends TestCase { [''], [' '], [str_repeat('a', 256)], + // Isn't a multibyte emoji + [str_repeat('😃', 256)], + // This is a multibyte emoji and need 2 chars in database + // 256 / 2 = 128 + [str_repeat('💻', 128)], ]; } |