Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_texteditor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-12-07 15:18:03 +0300
committerJoas Schilling <nickvergessen@owncloud.com>2015-12-10 11:26:54 +0300
commit0f0656e375a7850b945d18308b92a8fb402db9e6 (patch)
treec7e63addb80403cb794b66dafbd4a5ccca47db66 /tests
parentc190d9506c7fa1af133ca4a38e848fd9de5cb95b (diff)
Fix the whitelist stuff
Diffstat (limited to 'tests')
-rw-r--r--tests/bootstrap.php2
-rw-r--r--tests/phpunit.xml6
2 files changed, 5 insertions, 3 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index 8ff6609..f4297ba 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -9,3 +9,5 @@ require_once __DIR__.'/../../../lib/base.php';
if(!class_exists('PHPUnit_Framework_TestCase')) {
require_once('PHPUnit/Autoload.php');
}
+
+\OC_App::loadApp('files_texteditor');
diff --git a/tests/phpunit.xml b/tests/phpunit.xml
index 408a60d..0d62e4b 100644
--- a/tests/phpunit.xml
+++ b/tests/phpunit.xml
@@ -11,10 +11,10 @@
<!-- filters for code coverage -->
<filter>
<whitelist>
- <directory suffix=".php">../../files_editor</directory>
+ <directory suffix=".php">../../files_texteditor</directory>
<exclude>
- <directory suffix=".php">../../files_editor/l10n</directory>
- <directory suffix=".php">../../files_editor/tests</directory>
+ <directory suffix=".php">../../files_texteditor/l10n</directory>
+ <directory suffix=".php">../../files_texteditor/tests</directory>
</exclude>
</whitelist>
</filter>