Skip to content

Commit 5a9f0d1

Browse files
committed
fix: data provider functions made static
Signed-off-by: yemkareems <[email protected]>
1 parent 36899da commit 5a9f0d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/files/tests/Command/TransferOwnershipTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public function testTransferWithUseUserIdOption(bool $useUserId): void {
162162
$this->assertEquals(0, $status);
163163
}
164164

165-
public function userIdOptionProvider(): array {
165+
public static function userIdOptionProvider(): array {
166166
return [
167167
'use false' => [false],
168168
'use true' => [true],
@@ -206,7 +206,7 @@ public function testTransferOwnershipMoveOptionTrueOrFalse(bool $move): void {
206206
$this->assertEquals(0, $status);
207207
}
208208

209-
public function moveOptionProvider(): array {
209+
public static function moveOptionProvider(): array {
210210
return [
211211
'move disabled' => [false],
212212
'move enabled' => [true],
@@ -249,7 +249,7 @@ public function testTransferOwnershipPathOption(string $path): void {
249249
$this->assertEquals(0, $status);
250250
}
251251

252-
public function pathOptionProvider(): array {
252+
public static function pathOptionProvider(): array {
253253
return [
254254
'root path' => [''],
255255
'sub-folder path' => ['sub-folder'],

0 commit comments

Comments
 (0)