summaryrefslogtreecommitdiffstats
path: root/tests/php/TalkSessionTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/php/TalkSessionTest.php')
-rw-r--r--tests/php/TalkSessionTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/php/TalkSessionTest.php b/tests/php/TalkSessionTest.php
index c6f8c8f94..34948b3e6 100644
--- a/tests/php/TalkSessionTest.php
+++ b/tests/php/TalkSessionTest.php
@@ -43,7 +43,7 @@ class TalkSessionTest extends TestCase {
$this->talkSession = new TalkSession($this->session);
}
- public function dataGet(): array {
+ public static function dataGet(): array {
return [
'session is null' => [null, null],
'corrupted json' => ['{invalid json', null],
@@ -80,7 +80,7 @@ class TalkSessionTest extends TestCase {
$this->assertSame($expected, $this->talkSession->getPasswordForRoom('t1'));
}
- public function dataSet(): array {
+ public static function dataSet(): array {
return [
'session is null' => [null, json_encode(['t1' => 'd1'])],
'corrupted json' => ['{invalid json', json_encode(['t1' => 'd1'])],
@@ -123,7 +123,7 @@ class TalkSessionTest extends TestCase {
$this->talkSession->setPasswordForRoom('t1', 'd1');
}
- public function dataRemove(): array {
+ public static function dataRemove(): array {
return [
'session is null' => [null, json_encode([])],
'corrupted json' => ['{invalid json', json_encode([])],