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:
parent
6844dbfcab
commit
79a1d43496
@ -19,6 +19,7 @@
|
||||
|
||||
protected function _before()
|
||||
{
|
||||
require_once(e_HANDLER."mysql_class.php");
|
||||
try
|
||||
{
|
||||
$this->db = $this->make('e_db_mysql');
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user