1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

max() test.

This commit is contained in:
Cameron
2019-02-13 14:02:40 -08:00
parent 7f7b503c24
commit e99ff91381

View File

@@ -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);