aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/tests/Command/ExpireTest.php
blob: 11f4eb2e2be372ca9d816b302b08264e69a86c4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?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);
	}
}