You are here

public function PMTestCase::testpmUninstall in Drupal PM (Project Management) 7.3

Same name and namespace in other branches
  1. 8 pm.test \PMTestCase::testpmUninstall()
  2. 7.2 pm.test \PMTestCase::testpmUninstall()

Tests module uninstall path.

File

./pm.test, line 75
Test definitions for Project Management.

Class

PMTestCase
Define a test case for Project Management.

Code

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