1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-31 02:32:37 +02:00

Fix for database class change.

This commit is contained in:
Cameron 2019-06-03 16:30:52 -07:00
parent 6844dbfcab
commit 79a1d43496
2 changed files with 13 additions and 1 deletions

View File

@ -19,6 +19,7 @@
protected function _before()
{
require_once(e_HANDLER."mysql_class.php");
try
{
$this->db = $this->make('e_db_mysql');

View File

@ -167,6 +167,14 @@
}
/* public function testMakeTableDef()
{
$result = $this->db->makeTableDef('userclass_classes');
var_export($result);
}*/
public function testDb_IsLang()
{
@ -939,7 +947,7 @@
public function testDb_ResetTableList()
{
$this->db->Db_ResetTableList();
$this->db->db_ResetTableList();
}
public function testDb_TableList()
@ -1135,6 +1143,9 @@
$this->assertEquals($expected, $actual);
//$actual = $this->db->getFieldDefs('userclass_classes');
//var_dump($actual);
}