protected function InstallUninstallTest::assertModuleSuccessfullyInstalled in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/Module/InstallUninstallTest.php \Drupal\system\Tests\Module\InstallUninstallTest::assertModuleSuccessfullyInstalled()
Asserts that a module was successfully installed.
Parameters
string $name: Name of the module to check.
1 call to InstallUninstallTest::assertModuleSuccessfullyInstalled()
- InstallUninstallTest::testInstallUninstall in core/
modules/ system/ src/ Tests/ Module/ InstallUninstallTest.php - Tests that a fixed set of modules can be installed and uninstalled.
File
- core/
modules/ system/ src/ Tests/ Module/ InstallUninstallTest.php, line 205 - Contains \Drupal\system\Tests\Module\InstallUninstallTest.
Class
- InstallUninstallTest
- Install/uninstall core module and confirm table creation/deletion.
Namespace
Drupal\system\Tests\ModuleCode
protected function assertModuleSuccessfullyInstalled($name) {
$this
->assertModules(array(
$name,
), TRUE);
$this
->assertModuleTablesExist($name);
$this
->assertModuleConfig($name);
}