Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/site/app/tests/test_manager.php
diff options
context:
space:
mode:
Diffstat (limited to 'site/app/tests/test_manager.php')
-rw-r--r--site/app/tests/test_manager.php12
1 files changed, 3 insertions, 9 deletions
diff --git a/site/app/tests/test_manager.php b/site/app/tests/test_manager.php
index aca4703..01428ef 100644
--- a/site/app/tests/test_manager.php
+++ b/site/app/tests/test_manager.php
@@ -42,18 +42,12 @@
* @subpackage tests.lib
* @since CakePHP Test Suite v 1.0.0.0
*/
+
+DATABASE_CONFIG::useTestConfig();
+
class TestManager {
var $_testExtension = array('.test.php', '.test.thtml', '.test.thtml.php');
- function TestManager() {
- /* @TODO: implement this so the tests consistently use the test db, including web tests
- ConnectionManager::loadDataSource("test");
- $dataSourceTest =& ConnectionManager::getDataSource("test");
- $dataSourceDefault =& ConnectionManager::getDataSource("default");
- $dataSourceDefault = $dataSourceTest;
- */
- }
-
function runAllTests(&$reporter) {
$manager =& new TestManager();