Fix tests
This commit is contained in:
parent
87fd4dfb98
commit
2eed1a7207
@ -21,18 +21,12 @@ define('OSL_BASE_DIR', str_replace(basename(OSL_TEST_DIR).'/', '', OSL_TEST_DIR)
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
// Include simpletest
|
||||
// it has to be set in your php path, or put in the tests folder
|
||||
require_once('simpletest/autorun.php');
|
||||
|
||||
// Settings Tests
|
||||
require_once(OSL_BASE_DIR . 'common/settings.php');
|
||||
require_once(OSL_TEST_DIR . 'settings.php');
|
||||
|
||||
// Include db autoloader
|
||||
require_once(OSL_BASE_DIR . 'db/autoload.php');
|
||||
|
||||
// Include db tests
|
||||
require_once(OSL_BASE_DIR . 'db/tests/index.php');
|
||||
|
||||
|
||||
// Settings Tests
|
||||
require_once(OSL_BASE_DIR . 'common/settings.php');
|
||||
require_once(OSL_TEST_DIR . 'settings.php');
|
Reference in New Issue
Block a user