You are here

public function PMTaskTestCase::testpmtaskUninstall in Drupal PM (Project Management) 7.3

Same name and namespace in other branches
  1. 8 pmtask/pmtask.test \PMTaskTestCase::testpmtaskUninstall()
  2. 7.2 pmtask/pmtask.test \PMTaskTestCase::testpmtaskUninstall()

Tests module uninstall path.

File

pmtask/pmtask.test, line 74
Test definitions for PM Task.

Class

PMTaskTestCase
Define a test case for PM Task.

Code

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