AzuraCast/tests/Functional/Api_Admin_AuditLogCest.php

23 lines
399 B
PHP

<?php
declare(strict_types=1);
namespace Functional;
use FunctionalTester;
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);
}
}