From b563501e03324ded5f039b5572820d9c4b15187c Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 24 Sep 2023 03:57:33 +0000 Subject: [PATCH] fix db handling --- tests/Bootstrap.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/Bootstrap.php b/tests/Bootstrap.php index 5193c0e..b904f0c 100755 --- a/tests/Bootstrap.php +++ b/tests/Bootstrap.php @@ -349,13 +349,6 @@ $GLOBALS['dbpool']->create('update', $CONFIG['db']['core']['masters']['update']) $GLOBALS['dbpool']->create('delete', $CONFIG['db']['core']['masters']['delete']); $GLOBALS['dbpool']->create('schema', $CONFIG['db']['core']['masters']['schema']); -$GLOBALS['dbpool']->get('admin')->connect(); -$GLOBALS['dbpool']->get('select')->connect(); -$GLOBALS['dbpool']->get('insert')->connect(); -$GLOBALS['dbpool']->get('update')->connect(); -$GLOBALS['dbpool']->get('delete')->connect(); -$GLOBALS['dbpool']->get('schema')->connect(); - DataMapperFactory::db($GLOBALS['dbpool']->get()); $GLOBALS['frameworkpath'] = '/phpOMS/';