You are here

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

Same name and namespace in other branches
  1. 8 pm.test \PMTestCase::testpmUninstall()
  2. 7.3 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);
  drupal_uninstall_modules($module);
}