1
0

ExpireTest.php 574 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
  5. * SPDX-License-Identifier: AGPL-3.0-only
  6. */
  7. namespace OCA\Files_Versions\Tests\Command;
  8. use OCA\Files_Versions\Command\Expire;
  9. use Test\TestCase;
  10. /**
  11. * Class ExpireTest
  12. *
  13. * @group DB
  14. *
  15. * @package OCA\Files_Versions\Tests\Command
  16. */
  17. class ExpireTest extends TestCase {
  18. public function testExpireNonExistingUser() {
  19. $command = new Expire($this->getUniqueID('test'), '');
  20. $command->handle();
  21. $this->addToAssertionCount(1);
  22. }
  23. }