This connector allows the integration of the document sharing, calendars and tasks features of Nextcloud in Watcha. It is thus possible to link the resources of these applications to Watcha rooms thanks to Nextcloud groups.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
nextcloud-connector/tests/Integration/AppTest.php

29 lines
679 B

<?php
namespace OCA\Watcha\Tests\Integration\Controller;
use OCP\AppFramework\App;
use Test\TestCase;
/**
* This test shows how to make a small Integration Test. Query your class
* directly from the container, only pass in mocks if needed and run your tests
* against the database
*/
class AppTest extends TestCase {
private $container;
public function setUp() {
parent::setUp();
$app = new App('watcha');
$this->container = $app->getContainer();
}
public function testAppInstalled() {
$appManager = $this->container->query('OCP\App\IAppManager');
$this->assertTrue($appManager->isInstalled('watcha'));
}
}