You are here

public function PmPermissionTestCase::testpmpermissionUninstall in Drupal PM (Project Management) 7.3

Same name and namespace in other branches
  1. 8 pm.permission.test \PmPermissionTestCase::testpmpermissionUninstall()
  2. 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.'));
}