public function PMOrganizationTestCase::testpmorganizationUninstall in Drupal PM (Project Management) 8
Same name and namespace in other branches
- 7.3 pmorganization/pmorganization.test \PMOrganizationTestCase::testpmorganizationUninstall()
Tests module uninstall path.
File
- pmorganization/
pmorganization.test, line 74 - Test definitions for PM Organization.
Class
- PMOrganizationTestCase
- Define a test case for PM Organization.
Code
public function testpmorganizationUninstall() {
$module = array(
'pmorganization',
);
module_disable($module);
$result = drupal_uninstall_modules($module);
$this
->AssertTrue($result, t('Module successfully uninstalled.'));
}