function ModuleDependencyTestCase::testProjectNamespaceForDependencies

Checks functionality of project namespaces for dependencies.

File

modules/system/system.test, line 395

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->drupalPost('admin/modules', $edit, t('Save configuration'));
    $this->assertModules(array(
        'system_project_namespace_test',
    ), TRUE);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.