1 menu_example.test public MenuExampleTestCase::setUp()

Enable modules and create user with specific permissions.

Overrides BackdropWebTestCase::setUp

File

modules/examples/menu_example/menu_example.test, line 18
Tests for menu example module.

Class

MenuExampleTestCase
Functional tests for the Menu Example module.

Code

public function setUp() {
  parent::setUp('menu_example');
  $this->webUser = $this->backdropCreateUser(
  array(
    'administer blocks',
    'administer layouts',
  )
  );
}