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

github.com/nextcloud/passman.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bootstrap.php')
-rw-r--r--tests/bootstrap.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index f9408862..5bd36a9b 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -9,14 +9,8 @@
* @copyright Sander Brand 2016
*/
-$nc_require_base = getenv('SERVER_BASE_DIR');
-if ($nc_require_base) {
- require_once $nc_require_base . '/tests/bootstrap.php';
-}
-else{
- require_once __DIR__ . '/../../../tests/bootstrap.php';
-}
+require_once __DIR__ . '/../../../tests/bootstrap.php';
require_once __DIR__ . '/../appinfo/autoload.php';
require_once __DIR__ . '/db/DatabaseHelperTest.php';