You are here

public function PMTimetrackingTestCase::testpmtimetrackingUninstall in Drupal PM (Project Management) 8

Same name and namespace in other branches
  1. 7.3 pmtimetracking/pmtimetracking.test \PMTimetrackingTestCase::testpmtimetrackingUninstall()
  2. 7.2 pmtimetracking/pmtimetracking.test \PMTimetrackingTestCase::testpmtimetrackingUninstall()

Tests module uninstall path.

File

pmtimetracking/pmtimetracking.test, line 52
Test definitions for PM Timetracking.

Class

PMTimetrackingTestCase
Define a test case for PM Timetracking.

Code

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