summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests/Integration/Bootstrap.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-07-25 12:54:50 +0200
committerGitHub <noreply@github.com>2016-07-25 12:54:50 +0200
commit88cbde6a665c611c6efd68ad65fec60e5e3dd207 (patch)
treef10ac672f819ed09304a8a9efe2747a2a41d234a /apps/user_ldap/tests/Integration/Bootstrap.php
parent4ad0c383ade90eb2f339daa392828e145f1a3b6b (diff)
parent686cb599b61ccad8cd8b0bf23d6870a56313f0eb (diff)
downloadnextcloud-server-88cbde6a665c611c6efd68ad65fec60e5e3dd207.tar.gz
nextcloud-server-88cbde6a665c611c6efd68ad65fec60e5e3dd207.zip
Merge pull request #550 from nextcloud/ldap-integration-test-autoloader
fix autoloading in LPAP integration tests, resolves #544
Diffstat (limited to 'apps/user_ldap/tests/Integration/Bootstrap.php')
-rw-r--r--apps/user_ldap/tests/Integration/Bootstrap.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/apps/user_ldap/tests/Integration/Bootstrap.php b/apps/user_ldap/tests/Integration/Bootstrap.php
new file mode 100644
index 00000000000..f52f1322171
--- /dev/null
+++ b/apps/user_ldap/tests/Integration/Bootstrap.php
@@ -0,0 +1,26 @@
+<?php
+
+/**
+ * @copyright Copyright (c) 2016 Arthur Schiwon <blizzz@arthur-schiwon.de>
+ *
+ * @author Arthur Schiwon <blizzz@arthur-schiwon.de>
+ *
+ * @license AGPL-3.0
+ *
+ * This code is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License, version 3,
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License, version 3,
+ * along with this program. If not, see <http://www.gnu.org/licenses/>
+ *
+ */
+
+define('CLI_TEST_RUN', true);
+require_once __DIR__ . '/../../../../lib/base.php';
+require_once __DIR__ . '/setup-scripts/config.php';