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