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