diff options
author | David Rothstein <drothstein@gmail.com> | 2015-10-10 13:26:16 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2015-10-10 13:26:16 -0400 |
commit | c60d7b098a9db9abd9a8de3b6f125df3a2bfda24 (patch) | |
tree | 31e502258c9991500f338ffecfec39ad274572e4 /modules/system | |
parent | 56bbd4ba0165c8c8f902ee6ebde66a4d5fdfb1a0 (diff) | |
download | brdo-c60d7b098a9db9abd9a8de3b6f125df3a2bfda24.tar.gz brdo-c60d7b098a9db9abd9a8de3b6f125df3a2bfda24.tar.bz2 |
Issue #2205271 by trobey, jhedstrom, hass, alexpott, chx, joachim, jhodgdon: Add an optional project namespace for dependencies
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/system.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/system/system.test b/modules/system/system.test index d4c98f0a7..6e5f2b358 100644 --- a/modules/system/system.test +++ b/modules/system/system.test @@ -390,6 +390,18 @@ class ModuleDependencyTestCase extends ModuleTestCase { } /** + * Checks functionality of project namespaces for dependencies. + */ + 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); + } + + /** * Attempt to enable translation module without locale enabled. */ function testEnableWithoutDependency() { |