PATH:
home
/
letacommog
/
letaweb
/
admin
/
classes
/
hosting
/
api-php-lib
/
tests
<?php // Copyright 1999-2015. Parallels IP Holdings GmbH. class EventLogTest extends TestCase { public function testGet() { $events = $this->_client->eventLog()->get(); $this->assertGreaterThan(0, $events); $event = reset($events); $this->assertGreaterThan(0, $event->time); } public function testGetDetailedLog() { $events = $this->_client->eventLog()->getDetailedLog(); $this->assertGreaterThan(0, $events); $event = reset($events); $this->assertGreaterThan(0, $event->time); $this->assertGreaterThan(0, strlen($event->user)); } public function testGetLastId() { $lastId = $this->_client->eventLog()->getLastId(); $this->assertGreaterThan(0, $lastId); } }
[+]
..
[-] TestCase.php
[edit]
[-] ResellerTest.php
[edit]
[-] ApiClientTest.php
[edit]
[-] IpTest.php
[edit]
[-] WebspaceTest.php
[edit]
[-] CertificateTest.php
[edit]
[-] SessionTest.php
[edit]
[-] SecretKeyTest.php
[edit]
[-] ServerTest.php
[edit]
[-] EventLogTest.php
[edit]
[-] autoload.php
[edit]
[-] UiTest.php
[edit]
[-] DatabaseServerTest.php
[edit]
[-] LocaleTest.php
[edit]
[-] UserTest.php
[edit]
[-] CustomerTest.php
[edit]