diff options
Diffstat (limited to 'tests/php/Chat/ChatManagerTest.php')
-rw-r--r-- | tests/php/Chat/ChatManagerTest.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/php/Chat/ChatManagerTest.php b/tests/php/Chat/ChatManagerTest.php index ae953d131..cf7cae591 100644 --- a/tests/php/Chat/ChatManagerTest.php +++ b/tests/php/Chat/ChatManagerTest.php @@ -210,7 +210,7 @@ class ChatManagerTest extends TestCase { ]); } - public function dataSendMessage(): array { + public static function dataSendMessage(): array { return [ 'simple message' => ['testUser1', 'testMessage1', '', '0'], 'reference id' => ['testUser2', 'testMessage2', 'referenceId2', '0'], @@ -654,7 +654,7 @@ class ChatManagerTest extends TestCase { $manager->clearHistory($chat, 'users', 'admin'); } - public function dataSearchIsPartOfConversationNameOrAtAll(): array { + public static function dataSearchIsPartOfConversationNameOrAtAll(): array { return [ 'found a in all' => [ 'a', 'room', true @@ -697,7 +697,7 @@ class ChatManagerTest extends TestCase { $this->assertEquals($expected, $actual); } - public function dataAddConversationNotify(): array { + public static function dataAddConversationNotify(): array { return [ [ '', @@ -765,7 +765,7 @@ class ChatManagerTest extends TestCase { $this->assertEquals($expected, $actual); } - public function dataIsSharedFile(): array { + public static function dataIsSharedFile(): array { return [ ['', false], [json_encode([]), false], @@ -802,7 +802,7 @@ class ChatManagerTest extends TestCase { $this->assertCount($expectedCount, $result); } - public function dataFilterCommentsWithNonExistingFiles(): array { + public static function dataFilterCommentsWithNonExistingFiles(): array { return [ [[], 0], [[json_encode(['parameters' => ['not a shared file']])], 1], |