You are here

protected function MenuAdminPerMenuPermissionsTest::setUp in Menu Admin per Menu 8

Overrides KernelTestBase::setUp

File

tests/src/Kernel/MenuAdminPerMenuPermissionsTest.php, line 43

Class

MenuAdminPerMenuPermissionsTest
Class MenuAdminPerMenuPermissionsTest.

Namespace

Drupal\Tests\menu_admin_per_menu\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installEntitySchema('menu');
  $this
    ->installConfig('system');
  $this->menuAdminPerMenuPermissions = new MenuAdminPerMenuPermissions();
  $this->menuStorage = $this->container
    ->get('entity_type.manager')
    ->getStorage('menu');
}