From 05fb6f5277e4a278d670489d3b4640271387593b Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Fri, 13 Apr 2012 13:34:25 -0400 Subject: [PATCH] Fix test loading --- tests/index.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/index.php b/tests/index.php index a37460f..eb86eeb 100644 --- a/tests/index.php +++ b/tests/index.php @@ -20,16 +20,16 @@ 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'); +// Include db autoloader require_once(OSL_BASE_DIR . 'db/autoload.php'); +// Include db tests +require_once(OSL_BASE_DIR . 'db/tests/index.php'); + // Include core tests array_map('do_include', glob(OSL_TEST_DIR . 'core/*.php')); // Include required methods array_map('do_include', glob(OSL_BASE_DIR . 'common/*.php')); -// Include db tests -require_once(OSL_BASE_DIR . 'db/tests/index.php'); +