mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
max() test.
This commit is contained in:
@@ -698,13 +698,17 @@
|
|||||||
$rows = $this->db->db_getList();
|
$rows = $this->db->db_getList();
|
||||||
$this->assertArrayHasKey('plugin_name', $rows[2]);
|
$this->assertArrayHasKey('plugin_name', $rows[2]);
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
|
|
||||||
public function testMax()
|
public function testMax()
|
||||||
{
|
{
|
||||||
|
$result = $this->db->max('user', 'user_pwchange');
|
||||||
|
$this->assertEquals('1541074253', $result);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
public function testSelectTree()
|
public function testSelectTree()
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -1011,6 +1015,7 @@
|
|||||||
$this->fail("Failed to create secondary database");
|
$this->fail("Failed to create secondary database");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// use new database
|
// use new database
|
||||||
$use = $xql->database($database,MPREFIX,true);
|
$use = $xql->database($database,MPREFIX,true);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user