You are here

protected function PanelizerDefaultsTest::setUp in Panelizer 8.3

Same name and namespace in other branches
  1. 8.5 tests/src/Functional/PanelizerDefaultsTest.php \Drupal\Tests\panelizer\Functional\PanelizerDefaultsTest::setUp()
  2. 8.4 tests/src/Functional/PanelizerDefaultsTest.php \Drupal\Tests\panelizer\Functional\PanelizerDefaultsTest::setUp()

Overrides BrowserTestBase::setUp

File

src/Tests/PanelizerDefaultsTest.php, line 38

Class

PanelizerDefaultsTest
Confirm the defaults functionality works.

Namespace

Drupal\Tests\panelizer\Functional

Code

protected function setUp() {
  parent::setUp();
  $account = User::load(1);
  $account
    ->setPassword('foo')
    ->save();
  $account->passRaw = 'foo';
  $this
    ->drupalLogin($account);
}