protected function PageTest::setUp in Page Manager 8
Same name and namespace in other branches
- 8.4 tests/src/Unit/PageTest.php \Drupal\Tests\page_manager\Unit\PageTest::setUp()
Overrides UnitTestCase::setUp
File
- tests/
src/ Unit/ PageTest.php, line 40 - Contains \Drupal\Tests\page_manager\Unit\PageTest.
Class
- PageTest
- Tests the Page entity.
Namespace
Drupal\Tests\page_manager\UnitCode
protected function setUp() {
parent::setUp();
$this->page = new Page([
'id' => 'the_page',
], 'page');
}