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:
@@ -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);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user