protected function PanelizerDefaultsTest::setUp in Panelizer 8.3
Same name and namespace in other branches
- 8.5 tests/src/Functional/PanelizerDefaultsTest.php \Drupal\Tests\panelizer\Functional\PanelizerDefaultsTest::setUp()
- 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\FunctionalCode
protected function setUp() {
parent::setUp();
$account = User::load(1);
$account
->setPassword('foo')
->save();
$account->passRaw = 'foo';
$this
->drupalLogin($account);
}