aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-01-24 11:40:33 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-02-07 11:23:32 +0100
commitdb80ac02b0a9bf9ab4156884e24466afa19cfdff (patch)
tree87cd006232a16f2393d356a9bdc697a3a0e2b79b
parentb7d9e43e2579613b878aeccaaf3fcb5144770f9e (diff)
downloadnextcloud-server-db80ac02b0a9bf9ab4156884e24466afa19cfdff.tar.gz
nextcloud-server-db80ac02b0a9bf9ab4156884e24466afa19cfdff.zip
Fix name of skip method for phpunit
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-rw-r--r--apps/files/tests/HelperTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/tests/HelperTest.php b/apps/files/tests/HelperTest.php
index afb2b51f7e1..423fd855a9e 100644
--- a/apps/files/tests/HelperTest.php
+++ b/apps/files/tests/HelperTest.php
@@ -95,7 +95,7 @@ class HelperTest extends \Test\TestCase {
*/
public function testSortByName(string $sort, bool $sortDescending, array $expectedOrder) {
if (($sort === 'mtime') && (PHP_INT_SIZE < 8)) {
- $this->skip('Skip mtime sorting on 32bit');
+ $this->markTestSkipped('Skip mtime sorting on 32bit');
}
$files = self::getTestFileList();
$files = \OCA\Files\Helper::sortFiles($files, $sort, $sortDescending);