Statistics module: visitor statistics without cookies
PR CI / ledger (pull_request) Successful in 4s
PR CI / flow (pull_request) Successful in 5s
PR CI / test (lowest) (pull_request) Successful in 37s
PR CI / test (stable) (pull_request) Successful in 37s
PR CI / security (pull_request) Successful in 51s
PR CI / pr-ci (pull_request) Successful in 1s
PR CI / release-automerge (pull_request) Failing after 4s
PR CI / ledger (pull_request) Successful in 4s
PR CI / flow (pull_request) Successful in 5s
PR CI / test (lowest) (pull_request) Successful in 37s
PR CI / test (stable) (pull_request) Successful in 37s
PR CI / security (pull_request) Successful in 51s
PR CI / pr-ci (pull_request) Successful in 1s
PR CI / release-automerge (pull_request) Failing after 4s
This commit is contained in:
1 parent
96daa8a7b6
commit
d2a2a4a373
24 files changed
+1872
-4
No files matched your search
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace IriksIT\Manager\Tests;
|
||||
|
||||
/** A site that switched the optional statistics on. */
|
||||
abstract class StatisticsOnTestCase extends TestCase
|
||||
{
|
||||
protected array $modules = ['statistics' => true];
|
||||
|
||||
protected function defineEnvironment($app): void
|
||||
{
|
||||
parent::defineEnvironment($app);
|
||||
|
||||
$app['config']->set('manager.statistics.pages', ['/', '/about']);
|
||||
$app['config']->set('manager.statistics.posts_path', '/blog');
|
||||
$app['config']->set('manager.statistics.country_header', 'CF-IPCountry');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user