diff options
Diffstat (limited to 'apps/files_trashbin/tests/Command/ExpireTest.php')
-rw-r--r-- | apps/files_trashbin/tests/Command/ExpireTest.php | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/apps/files_trashbin/tests/Command/ExpireTest.php b/apps/files_trashbin/tests/Command/ExpireTest.php new file mode 100644 index 00000000000..5a66dac8c6e --- /dev/null +++ b/apps/files_trashbin/tests/Command/ExpireTest.php @@ -0,0 +1,28 @@ +<?php + +declare(strict_types=1); +/** + * SPDX-FileCopyrightText: 2018-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-only + */ +namespace OCA\Files_Trashbin\Tests\Command; + +use OCA\Files_Trashbin\Command\Expire; +use Test\TestCase; + +/** + * Class ExpireTest + * + * @group DB + * + * @package OCA\Files_Trashbin\Tests\Command + */ +class ExpireTest extends TestCase { + public function testExpireNonExistingUser(): void { + $command = new Expire('test'); + $command->handle(); + + $this->addToAssertionCount(1); + } +} |