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