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