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