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/bootstrap.php

20 lines
455 B

<?php
if (!defined('PHPUNIT_RUN')) {
define('PHPUNIT_RUN', 1);
}
require_once __DIR__.'/../../../lib/base.php';
// Fix for "Autoload path not allowed: .../tests/lib/testcase.php"
\OC::$loader->addValidRoot(OC::$SERVERROOT . '/tests');
// Fix for "Autoload path not allowed: .../watcha/tests/testcase.php"
\OC_App::loadApp('watcha');
if(!class_exists('PHPUnit_Framework_TestCase')) {
require_once('PHPUnit/Autoload.php');
}
OC_Hook::clear();