123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php
- namespace OCA\Files_Trashbin\Tests;
- use OCA\Files_Trashbin\Capabilities;
- use Test\TestCase;
- class CapabilitiesTest extends TestCase {
-
- private $capabilities;
- protected function setUp(): void {
- parent::setUp();
- $this->capabilities = new Capabilities();
- }
-
- public function testGetCapabilities() {
- $capabilities = [
- 'files' => [
- 'undelete' => true
- ]
- ];
- $this->assertSame($capabilities, $this->capabilities->getCapabilities());
- }
- }
|