You are here

public function PMIssueTestCase::testpmissueUninstall in Drupal PM (Project Management) 7.3

Same name and namespace in other branches
  1. 8 pmissue/pmissue.test \PMIssueTestCase::testpmissueUninstall()
  2. 7.2 pmissue/pmissue.test \PMIssueTestCase::testpmissueUninstall()

Tests module uninstall path.

File

pmissue/pmissue.test, line 74
Test definitions for PM Issue.

Class

PMIssueTestCase
Define a test case for PM Issue.

Code

public function testpmissueUninstall() {
  $module = array(
    'pmissue',
  );
  module_disable($module);
  $result = drupal_uninstall_modules($module);
  $this
    ->AssertTrue($result, t('Module successfully uninstalled.'));
}