You are here

protected function PageViewTest::setUp in Simple Facebook Pixel 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/PageViewTest.php, line 38

Class

PageViewTest
Tests PageView event.

Namespace

Drupal\Tests\simple_facebook_pixel\Functional

Code

protected function setUp() {
  parent::setUp();
  $this->user = $this
    ->drupalCreateUser([
    'administer simple facebook pixel',
  ]);
  $this
    ->drupalLogin($this->user);
}