0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-02-16 05:52:39 +00:00
nextcloud_server/apps/files_versions/tests/Command/ExpireTest.php
Christoph Wurst 49dd79eabb
refactor: Add void return type to PHPUnit test methods
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-09-15 22:32:31 +02:00

26 lines
580 B
PHP

<?php
/**
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
*/
namespace OCA\Files_Versions\Tests\Command;
use OCA\Files_Versions\Command\Expire;
use Test\TestCase;
/**
* Class ExpireTest
*
* @group DB
*
* @package OCA\Files_Versions\Tests\Command
*/
class ExpireTest extends TestCase {
public function testExpireNonExistingUser(): void {
$command = new Expire($this->getUniqueID('test'), '');
$command->handle();
$this->addToAssertionCount(1);
}
}