You are here

protected function ViewContentEventTest::setUp in Simple Facebook Pixel 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/ViewContentEventTest.php, line 50

Class

ViewContentEventTest
Tests View Content 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);
  $this->configFactory = \Drupal::configFactory();
}