protected function AlterHooksTest::setUp in Simple Facebook Pixel 8
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ AlterHooksTest.php, line 33
Class
- AlterHooksTest
- Tests the alter hooks.
Namespace
Drupal\Tests\simple_facebook_pixel\FunctionalCode
protected function setUp() {
parent::setUp();
$account = $this
->drupalCreateUser([
'administer simple facebook pixel',
]);
$this
->drupalLogin($account);
$this
->drupalCreateContentType([
'type' => 'page',
'name' => 'Basic page',
]);
$this
->createNode([
'title' => 'Test page #1',
'type' => 'page',
]);
}