You are here

public function PMExpenseTestCase::testpmexpenseUninstall in Drupal PM (Project Management) 7.3

Same name and namespace in other branches
  1. 8 pmexpense/pmexpense.test \PMExpenseTestCase::testpmexpenseUninstall()
  2. 7.2 pmexpense/pmexpense.test \PMExpenseTestCase::testpmexpenseUninstall()

Tests module uninstall path.

File

pmexpense/pmexpense.test, line 80
Test definitions for PM Expense.

Class

PMExpenseTestCase
Define a test case for PM Expense.

Code

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