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
path: root/tests
diff options
context:
space:
mode:
authorMarcos Zuriaga <wolfi@wolfi.es>2016-10-11 23:33:48 +0300
committerMarcos Zuriaga <wolfi@wolfi.es>2016-10-11 23:33:48 +0300
commit3f2bb33ce374c02d8f460137538c6c56c7cee962 (patch)
tree3fb30dae4f2a175ef2fbcf841cee2d7c60169026 /tests
parentefd27ee1aefd7525b0a7f1bb0873cfd0b4aa3380 (diff)
Changed unit test env var names
Diffstat (limited to 'tests')
-rw-r--r--tests/db/DatabaseHelperTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/db/DatabaseHelperTest.php b/tests/db/DatabaseHelperTest.php
index 284200fa..0d4a4d9a 100644
--- a/tests/db/DatabaseHelperTest.php
+++ b/tests/db/DatabaseHelperTest.php
@@ -40,7 +40,7 @@ abstract class DatabaseHelperTest extends PHPUnit_Extensions_Database_TestCase {
}
public function setUp() {
- $server = new \OC\Server(getenv('NEXTCLOUD_BASE_DIR'), new \OC\Config(getenv('NEXTCLOUD_CONFIG_DIR'), getenv('NEXTCLOUD_CONFIG_FILE')));
+ $server = new \OC\Server(getenv('SERVER_BASE_DIR'), new \OC\Config(getenv('SERVER_CONFIG_DIR'), getenv('SERVER_CONFIG_FILE')));
$this->app_container = $server->getAppContainer('passman');
$this->db = $this->app_container->getServer()->getDatabaseConnection();