1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-26 07:12:54 +01:00

Online class test added.

This commit is contained in:
Cameron 2019-01-31 14:04:59 -08:00
parent b830aeae91
commit 90a7ac7020

View File

@ -0,0 +1,56 @@
<?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()
{
}
}