19 lines
351 B
PHP
19 lines
351 B
PHP
<?php
|
|
|
|
namespace Functional;
|
|
|
|
class Api_Admin_AuditLogCest extends CestAbstract
|
|
{
|
|
/**
|
|
* @before setupComplete
|
|
* @before login
|
|
*/
|
|
public function viewAuditLog(\FunctionalTester $I): void
|
|
{
|
|
$I->wantTo('View audit log via API.');
|
|
|
|
$I->sendGet('/api/admin/auditlog');
|
|
$I->seeResponseCodeIs(200);
|
|
}
|
|
}
|