protected function InstallUninstallTest::assertModuleNotInstalled in Drupal 9
Same name and namespace in other branches
- 8 core/modules/system/tests/src/Functional/Module/InstallUninstallTest.php \Drupal\Tests\system\Functional\Module\InstallUninstallTest::assertModuleNotInstalled()
- 10 core/modules/system/tests/src/Functional/Module/InstallUninstallTest.php \Drupal\Tests\system\Functional\Module\InstallUninstallTest::assertModuleNotInstalled()
Asserts that a module is not yet installed.
Parameters
string $name: Name of the module to check.
1 call to InstallUninstallTest::assertModuleNotInstalled()
- InstallUninstallTest::testInstallUninstall in core/
modules/ system/ tests/ src/ Functional/ Module/ InstallUninstallTest.php - Tests that a fixed set of modules can be installed and uninstalled.
File
- core/
modules/ system/ tests/ src/ Functional/ Module/ InstallUninstallTest.php, line 235
Class
- InstallUninstallTest
- Install/uninstall core module and confirm table creation/deletion.
Namespace
Drupal\Tests\system\Functional\ModuleCode
protected function assertModuleNotInstalled($name) {
$this
->assertModules([
$name,
], FALSE);
$this
->assertModuleTablesDoNotExist($name);
}