mirror of
https://github.com/e107inc/e107.git
synced 2025-04-30 09:18:09 +02:00
57 lines
649 B
PHP
57 lines
649 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);
|
|
// var_dump(TOTAL_ONLINE);
|
|
}
|
|
|
|
public function testIsBot()
|
|
{
|
|
|
|
}
|
|
|
|
public function testGuestList()
|
|
{
|
|
|
|
}
|
|
|
|
public function testUserList()
|
|
{
|
|
|
|
}
|
|
}
|