nextcloud/apps/files_versions/tests/Command/ExpireTest.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
606 B
PHP
Raw Normal View History

2015-06-05 07:23:50 -04:00
<?php
declare(strict_types=1);
2015-06-05 07:23:50 -04:00
/**
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
2015-06-05 07:23:50 -04:00
*/
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
*/
2015-06-05 07:23:50 -04:00
class ExpireTest extends TestCase {
public function testExpireNonExistingUser(): void {
$command = new Expire($this->getUniqueID('test'), '');
2015-06-05 07:23:50 -04:00
$command->handle();
$this->addToAssertionCount(1);
2015-06-05 07:23:50 -04:00
}
}