1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-13 14:04:51 +02:00
Files
php-e107/tests/unit/e_onlineTest.php
2019-02-18 12:55:33 -08:00

66 lines
757 B
PHP

<?php
/**
* Created by PhpStorm.
* User: Wiz
* Date: 1/31/2019
* Time: 1:50 PM
*/
class e_onlineTest extends \Codeception\Test\Unit
{
/** @var e_online */
private $on;
protected function _before()
{
try
{
$this->on = $this->make('e_online');
$this->on->__construct();
}
catch (Exception $e)
{
$this->assertTrue(false, "Couldn't load e_online object");
}
}
public function testGoOnline()
{
$this->on->goOnline(true, true);
$this->on->goOnline(false, false);
// $this->on->goOnline(true, true);
// var_dump($markers);
// var_dump(TOTAL_ONLINE);
}
public function testIsBot()
{
}
public function testGuestList()
{
}
public function testUserList()
{
}
}