aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/tests/Command/ExpireTest.php
blob: ac1fc4ada7fb2cdef21b53ad2e42bd4ea73d797a (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() {
		$command = new Expire($this->getUniqueID('test'), '');
		$command->handle();

		$this->addToAssertionCount(1);
	}
}