mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Fix for database class change.
This commit is contained in:
@@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
protected function _before()
|
protected function _before()
|
||||||
{
|
{
|
||||||
|
require_once(e_HANDLER."mysql_class.php");
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
$this->db = $this->make('e_db_mysql');
|
$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()
|
public function testDb_IsLang()
|
||||||
{
|
{
|
||||||
@@ -939,7 +947,7 @@
|
|||||||
|
|
||||||
public function testDb_ResetTableList()
|
public function testDb_ResetTableList()
|
||||||
{
|
{
|
||||||
$this->db->Db_ResetTableList();
|
$this->db->db_ResetTableList();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testDb_TableList()
|
public function testDb_TableList()
|
||||||
@@ -1135,6 +1143,9 @@
|
|||||||
|
|
||||||
$this->assertEquals($expected, $actual);
|
$this->assertEquals($expected, $actual);
|
||||||
|
|
||||||
|
|
||||||
|
//$actual = $this->db->getFieldDefs('userclass_classes');
|
||||||
|
//var_dump($actual);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user