You are here

public function FeaturesExtraBlockTestCase::testRequiredModules in Features Extra 7

Check that all modules that are required for the test suite are available.

File

tests/fe_block.test, line 32
Tests for the Features Extra Block module.

Class

FeaturesExtraBlockTestCase
Tests the functionality of FE Block.

Code

public function testRequiredModules() {
  $required_modules = array(
    'block',
    'block_class',
    'blockcache_alter',
    'ctools',
    'features',
    'fe_block',
    'features_extra_test',
  );
  foreach ($required_modules as $module) {
    $this
      ->assertTrue(module_exists($module), format_string('The required module @module exists.', array(
      '@module' => $module,
    )));
  }
}