You are here

public function PMPersonTestCase::testpmpersonUninstall in Drupal PM (Project Management) 7.3

Same name and namespace in other branches
  1. 8 pmperson/pmperson.test \PMPersonTestCase::testpmpersonUninstall()
  2. 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.'));
}