mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
There are still 1200 more to fix before we can enable static analysis for the tests. Signed-off-by: Carl Schwan <carlschwan@kde.org>
28 lines
625 B
PHP
28 lines
625 B
PHP
<?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
|
|
*
|
|
*
|
|
* @package OCA\Files_Trashbin\Tests\Command
|
|
*/
|
|
#[\PHPUnit\Framework\Attributes\Group(name: 'DB')]
|
|
class ExpireTest extends TestCase {
|
|
public function testExpireNonExistingUser(): void {
|
|
$command = new Expire('test');
|
|
$command->handle();
|
|
|
|
$this->addToAssertionCount(1);
|
|
}
|
|
}
|