summaryrefslogtreecommitdiffstats
path: root/tests/php/Chat/Command/ExecutorTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/php/Chat/Command/ExecutorTest.php')
-rw-r--r--tests/php/Chat/Command/ExecutorTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/php/Chat/Command/ExecutorTest.php b/tests/php/Chat/Command/ExecutorTest.php
index 31c53b567..12027c7c7 100644
--- a/tests/php/Chat/Command/ExecutorTest.php
+++ b/tests/php/Chat/Command/ExecutorTest.php
@@ -71,7 +71,7 @@ class ExecutorTest extends TestCase {
);
}
- public function dataExecApp(): array {
+ public static function dataExecApp(): array {
return [
['arguments1', ''],
['arguments2', "output from\nevent"],
@@ -115,7 +115,7 @@ class ExecutorTest extends TestCase {
$this->assertSame($expected, self::invokePrivate($executor, 'execApp', [$room, $message, $command, $arguments]));
}
- public function dataExecShell(): array {
+ public static function dataExecShell(): array {
return [
['admin', 'token', '', '', ''],
['admin', 'token', '/var/www/nextcloud/script.sh {USER} {ROOM} {ARGUMENTS}', 'foo bar "hello bear"', 'output1'],