You are here

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

Same name and namespace in other branches
  1. 7.3 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.'));
}