Skip to content

Commit 5c51b42

Browse files
test(trashbin): Update DAV quotaProvider test cases
Signed-off-by: Josh <[email protected]>
1 parent 80caedb commit 5c51b42

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

apps/files_trashbin/tests/Sabre/TrashbinPluginTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ public function testQuota(int $quota, int $fileSize, bool $expectedResult): void
6060

6161
public static function quotaProvider(): array {
6262
return [
63-
[ 1024, 512, true ],
64-
[ 512, 513, false ],
65-
[ FileInfo::SPACE_NOT_COMPUTED, 1024, true ],
66-
[ FileInfo::SPACE_UNKNOWN, 1024, true ],
67-
[ FileInfo::SPACE_UNLIMITED, 1024, true ]
63+
[ 1024 * 1024, 512 * 1024, true ],
64+
[ 512 * 1024, 513 * 1024, false ],
65+
[ FileInfo::SPACE_NOT_COMPUTED, 1024 * 1024, true ],
66+
[ FileInfo::SPACE_UNKNOWN, 1024 * 1024, true ],
67+
[ FileInfo::SPACE_UNLIMITED, 1024 * 1024, true ]
6868
];
6969
}
7070
}

0 commit comments

Comments
 (0)