You are here

protected function InstallUninstallTest::assertModuleNotInstalled in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/Module/InstallUninstallTest.php \Drupal\system\Tests\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/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 194
Contains \Drupal\system\Tests\Module\InstallUninstallTest.

Class

InstallUninstallTest
Install/uninstall core module and confirm table creation/deletion.

Namespace

Drupal\system\Tests\Module

Code

protected function assertModuleNotInstalled($name) {
  $this
    ->assertModules(array(
    $name,
  ), FALSE);
  $this
    ->assertModuleTablesDoNotExist($name);
}