You are here

public function PMTeamTestCase::testpmteamUninstall in Drupal PM (Project Management) 7.3

Same name and namespace in other branches
  1. 8 pmteam/pmteam.test \PMTeamTestCase::testpmteamUninstall()

Tests module uninstall path.

File

pmteam/pmteam.test, line 52
Test definitions for PM Team.

Class

PMTeamTestCase
Define a test case for PM Team.

Code

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