PR CI / flow (pull_request) Successful in 4s
PR CI / ledger (pull_request) Successful in 4s
PR CI / test (stable) (pull_request) Successful in 35s
PR CI / test (lowest) (pull_request) Successful in 40s
PR CI / security (pull_request) Successful in 51s
PR CI / pr-ci (pull_request) Successful in 1s
PR CI / release-automerge (pull_request) Successful in 4s
18 lines
500 B
PHP
18 lines
500 B
PHP
<?php
|
|
|
|
namespace IriksIT\Manager\Tests;
|
|
|
|
/** A site that switched the optional audit log on (and reviews, so every module is on). */
|
|
abstract class AuditOnTestCase extends TestCase
|
|
{
|
|
protected array $modules = ['audit' => true, 'reviews' => true];
|
|
|
|
protected function defineEnvironment($app): void
|
|
{
|
|
parent::defineEnvironment($app);
|
|
|
|
$app['config']->set('manager.audit.never_ban', ['10.9.9.9']);
|
|
$app['config']->set('manager.audit.whole_site_bans', true);
|
|
}
|
|
}
|