Fix tests

This commit is contained in:
Timothy Warren 2012-05-31 16:39:31 -04:00
parent 87fd4dfb98
commit 2eed1a7207

View File

@ -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');