Move test config folder to tests/config

This commit is contained in:
Robin Appelman 2014-01-20 13:41:52 +01:00
parent 6b4c3df087
commit 164915a3f8
1 changed files with 2 additions and 2 deletions

View File

@ -103,8 +103,8 @@ class OC {
get_include_path()
);
if(defined('PHPUNIT_RUN') and PHPUNIT_RUN and is_dir(OC::$SERVERROOT . '/test_config/')) {
self::$configDir = OC::$SERVERROOT . '/test_config/';
if(defined('PHPUNIT_RUN') and PHPUNIT_RUN and is_dir(OC::$SERVERROOT . '/tests/config/')) {
self::$configDir = OC::$SERVERROOT . '/tests/config/';
} else {
self::$configDir = OC::$SERVERROOT . '/config/';
}