Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitor Mattos <vitor@php.rio>2022-01-17 15:14:56 +0300
committerVitor Mattos <vitor@php.rio>2022-01-21 14:39:41 +0300
commitb9f74584a1e808019235d349fbae3f1fd1bdd711 (patch)
tree502bfce2e5ad076158b8e04b2471aaaaec02e0c6 /tests/lib/Comments/ManagerTest.php
parentc9f2f0077745da8d0570b387557076ce9c948dc4 (diff)
Fix check after change from string to mb_string
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'tests/lib/Comments/ManagerTest.php')
-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],