Fix name of skip method for phpunit

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet 2023-01-24 11:40:33 +01:00
parent b7d9e43e25
commit db80ac02b0
No known key found for this signature in database
GPG Key ID: A3E2F658B28C760A

View File

@ -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);