Fix name of skip method for phpunit

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/36120/head
Côme Chilliet 3 years ago
parent b7d9e43e25
commit db80ac02b0
No known key found for this signature in database
GPG Key ID: A3E2F658B28C760A
  1. 2
      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);

Loading…
Cancel
Save