1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 04:10:38 +02:00

Enhanced max() test.

This commit is contained in:
Cameron
2019-02-18 12:55:33 -08:00
parent de6cb22225
commit 917f486d18
2 changed files with 14 additions and 0 deletions

View File

@@ -760,6 +760,11 @@
$result = $this->db->max('generic', 'gen_user_id'); $result = $this->db->max('generic', 'gen_user_id');
$this->assertEquals('555', $result, "gen_ip = '127.0.0.1'"); $this->assertEquals('555', $result, "gen_ip = '127.0.0.1'");
$result = $this->db->max('generic', 'gen_user_id', "gen_ip = '127.0.0.1'");
$this->assertEquals('555', $result);
} }

View File

@@ -36,6 +36,15 @@
{ {
$this->on->goOnline(true, true); $this->on->goOnline(true, true);
$this->on->goOnline(false, false);
// $this->on->goOnline(true, true);
// var_dump($markers);
// var_dump(TOTAL_ONLINE); // var_dump(TOTAL_ONLINE);
} }