aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/bootstrap.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/tests/unit/bootstrap.php')
-rw-r--r--apps/dav/tests/unit/bootstrap.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/dav/tests/unit/bootstrap.php b/apps/dav/tests/unit/bootstrap.php
new file mode 100644
index 00000000000..28f6b971dec
--- /dev/null
+++ b/apps/dav/tests/unit/bootstrap.php
@@ -0,0 +1,13 @@
+<?php
+
+define('PHPUNIT_RUN', 1);
+
+require_once __DIR__.'/../../../../lib/base.php';
+
+if(!class_exists('PHPUnit_Framework_TestCase')) {
+ require_once('PHPUnit/Autoload.php');
+}
+
+\OC_App::loadApp('dav');
+
+OC_Hook::clear();