You are here

protected function XAutoloadWebTestCase::assertModuleDisabled in X Autoload 7.5

Same name and namespace in other branches
  1. 7.3 lib/Drupal/xautoload/Tests/XAutoloadWebTestCase.php \Drupal\xautoload\Tests\XAutoloadWebTestCase::assertModuleDisabled()
  2. 7.4 lib/Drupal/xautoload/Tests/XAutoloadWebTestCase.php \Drupal\xautoload\Tests\XAutoloadWebTestCase::assertModuleDisabled()

Assert that a module is disabled.

Parameters

string $module:

File

lib/Drupal/xautoload/Tests/XAutoloadWebTestCase.php, line 219

Class

XAutoloadWebTestCase

Namespace

Drupal\xautoload\Tests

Code

protected function assertModuleDisabled($module) {
  $this
    ->assertFalse(module_exists($module), "Module {$module} is disabled.");
}