You are here

protected function FlagBookmarkInstallUninstallTest::doTestsOnInstall in Flag 8.4

1 call to FlagBookmarkInstallUninstallTest::doTestsOnInstall()
FlagBookmarkInstallUninstallTest::testInstallUninstall in modules/flag_bookmark/tests/src/Kernel/FlagBookmarkInstallUninstallTest.php

File

modules/flag_bookmark/tests/src/Kernel/FlagBookmarkInstallUninstallTest.php, line 37

Class

FlagBookmarkInstallUninstallTest
Tests that the Flag bookmark module can be installed and uninstalled.

Namespace

Drupal\Tests\flag_bookmark\Kernel

Code

protected function doTestsOnInstall() {
  $this
    ->assertEquals([
    'node',
    'flag_bookmark',
  ], Flag::load('bookmark')
    ->getDependencies()['module']);
  $this
    ->assertEquals([
    'flag.flag.bookmark',
    'system.menu.main',
  ], View::load('flag_bookmark')
    ->getDependencies()['config']);
}