You are here

public function PMTicketTestCase::testpmticketUninstall in Drupal PM (Project Management) 8

Same name and namespace in other branches
  1. 7.3 pmticket/pmticket.test \PMTicketTestCase::testpmticketUninstall()
  2. 7.2 pmticket/pmticket.test \PMTicketTestCase::testpmticketUninstall()

Tests module uninstall path.

File

pmticket/pmticket.test, line 71
Test definitions for PM Ticket.

Class

PMTicketTestCase
Define a test case for PM Ticket.

Code

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