protected function DecoupledRouterInfoAlterTest::setUp in Decoupled Router 2.x
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ DecoupledRouterInfoAlterTest.php, line 44
Class
- DecoupledRouterInfoAlterTest
- Test class.
Namespace
Drupal\Tests\decoupled_router\FunctionalCode
protected function setUp() {
parent::setUp();
$this
->drupalCreateContentType([
'type' => 'article',
'name' => 'Article',
]);
$this->user = $this
->drupalCreateUser([
'access content',
'create article content',
]);
$this->container
->get('router.builder')
->rebuild();
}