protected function FlagFollowerInstallUninstallTest::doTestsOnInstall in Flag 8.4
1 call to FlagFollowerInstallUninstallTest::doTestsOnInstall()
- FlagFollowerInstallUninstallTest::testInstallUninstall in modules/
flag_follower/ tests/ src/ Kernel/ FlagFollowerInstallUninstallTest.php
File
- modules/
flag_follower/ tests/ src/ Kernel/ FlagFollowerInstallUninstallTest.php, line 39
Class
- FlagFollowerInstallUninstallTest
- Tests that the Flag follower module can be installed and uninstalled.
Namespace
Drupal\Tests\flag_follower\KernelCode
protected function doTestsOnInstall() {
$this
->assertEquals([
'user',
'flag_follower',
], Flag::load('following')
->getDependencies()['module']);
$this
->assertEquals([
'flag.flag.following',
], View::load('flag_followers')
->getDependencies()['config']);
$this
->assertEquals([
'core.entity_view_mode.node.full',
'flag.flag.following',
], View::load('flag_followers_content')
->getDependencies()['config']);
}