protected function MatomoCustomVariablesTest::setUp in Matomo Analytics 8
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ MatomoCustomVariablesTest.php, line 32
Class
- MatomoCustomVariablesTest
- Test custom variables functionality of Matomo module.
Namespace
Drupal\Tests\matomo\FunctionalCode
protected function setUp() {
parent::setUp();
$permissions = [
'access administration pages',
'administer matomo',
];
// User to set up matomo.
$this->admin_user = $this
->drupalCreateUser($permissions);
}