You are here

public function PMNoteTestCase::testpmnoteUninstall in Drupal PM (Project Management) 7.3

Same name and namespace in other branches
  1. 8 pmnote/pmnote.test \PMNoteTestCase::testpmnoteUninstall()
  2. 7.2 pmnote/pmnote.test \PMNoteTestCase::testpmnoteUninstall()

Tests module uninstall path.

File

pmnote/pmnote.test, line 70
Test definitions for PM Note.

Class

PMNoteTestCase
Define a test case for PM Note.

Code

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