aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorVitor Mattos <vitor@php.rio>2022-01-17 09:14:56 -0300
committerVitor Mattos <vitor@php.rio>2022-01-21 08:39:41 -0300
commitb9f74584a1e808019235d349fbae3f1fd1bdd711 (patch)
tree502bfce2e5ad076158b8e04b2471aaaaec02e0c6 /tests/lib
parentc9f2f0077745da8d0570b387557076ce9c948dc4 (diff)
downloadnextcloud-server-b9f74584a1e808019235d349fbae3f1fd1bdd711.tar.gz
nextcloud-server-b9f74584a1e808019235d349fbae3f1fd1bdd711.zip
Fix check after change from string to mb_string
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/Comments/ManagerTest.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/lib/Comments/ManagerTest.php b/tests/lib/Comments/ManagerTest.php
index cba314e880b..d1d9a8a05d4 100644
--- a/tests/lib/Comments/ManagerTest.php
+++ b/tests/lib/Comments/ManagerTest.php
@@ -1144,6 +1144,7 @@ class ManagerTest extends TestCase {
* @dataProvider providerTestReactionMessageSize
*/
public function testReactionMessageSize($reactionString, $valid) {
+ $this->skipIfNotSupport4ByteUTF();
if (!$valid) {
$this->expectException(\UnexpectedValueException::class);
}
@@ -1162,8 +1163,8 @@ class ManagerTest extends TestCase {
return [
['a', true],
['1', true],
- ['12345678', true],
- ['123456789', false],
+ ['12', true],
+ ['123', false],
['👍', true],
['👍👍', true],
['👍🏽', true],