1 menu_example.test public MenuExampleTestCase::setUp()

Enable modules and create user with specific permissions.

Overrides BackdropWebTestCase::setUp

File

modules/examples/menu_example/tests/menu_example.test, line 17
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',
  )
  );
}