From e99ff91381d1c4fd987c742a05b6656fe30b4ca6 Mon Sep 17 00:00:00 2001 From: Cameron <e107inc@gmail.com> Date: Wed, 13 Feb 2019 14:02:40 -0800 Subject: [PATCH] max() test. --- tests/unit/e_db_pdoTest.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/unit/e_db_pdoTest.php b/tests/unit/e_db_pdoTest.php index 8357895fe..ed024b35d 100644 --- a/tests/unit/e_db_pdoTest.php +++ b/tests/unit/e_db_pdoTest.php @@ -698,13 +698,17 @@ $rows = $this->db->db_getList(); $this->assertArrayHasKey('plugin_name', $rows[2]); } -/* + public function testMax() { + $result = $this->db->max('user', 'user_pwchange'); + $this->assertEquals('1541074253', $result); } + +/* public function testSelectTree() { @@ -1011,6 +1015,7 @@ $this->fail("Failed to create secondary database"); } + // use new database $use = $xql->database($database,MPREFIX,true);