1 layout.test | public LayoutPathTest::setUp() |
Set up environment.
Overrides BackdropWebTestCase::setUp
File
- core/
modules/ layout/ tests/ layout.test, line 3688 - Tests for the Layout module.
Class
- LayoutPathTest
- Tests that default layout paths are handled properly.
Code
public function setUp() {
parent::setUp(array('layout_test'));
// Create and login admin user.
$this->admin_user = $this->backdropCreateUser(array(
'access content',
'administer layouts',
'access user profiles',
));
$this->backdropLogin($this->admin_user);
}