Permalink
Browse files

Really resolved DB test issue(?)

Signed-off-by: dchill42 <dchill42@gmail.com>
  • Loading branch information...
1 parent dc7282d commit b43ba1b10dedfd6f8010cb8a330f439618b7ae7b @dchill42 committed Sep 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/mocks/database/schema/skeleton.php
View
2 tests/mocks/database/schema/skeleton.php
@@ -30,7 +30,7 @@ public static function init($driver)
CI_TestCase::instance()->ci_instance_var('db', $db);
- $dbdriver = $config['dbdriver'];
+ $dbdriver = $config[$driver]['dbdriver'];
require_once(BASEPATH.'database/DB_forge.php');
require_once(BASEPATH.'database/drivers/'.$dbdriver.'/'.$dbdriver.'_forge.php');
$class = 'CI_DB_'.$dbdriver.'_forge';

0 comments on commit b43ba1b

Please sign in to comment.