1 system.test ModuleDependencyTestCase::testProjectNamespaceForDependencies()

Checks functionality of project namespaces for dependencies.

File

core/modules/system/tests/system.test, line 338
Tests for system.module.

Class

ModuleDependencyTestCase
Test module dependency functionality.

Code

function testProjectNamespaceForDependencies() {
  // Enable module with project namespace to ensure nothing breaks.
  $edit = array(
    'modules[Testing][system_project_namespace_test][enable]' => TRUE,
  );
  $this->backdropPost('admin/modules', $edit, t('Save configuration'));
  $this->assertModules(array('system_project_namespace_test'), TRUE);
}