You are here

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

Same name and namespace in other branches
  1. 7.3 pm.test \PMTestCase::testpmEnableAll()

Tests compatibility between submodules.

File

./pm.test, line 86
Test definitions for Project Management.

Class

PMTestCase
Define a test case for Project Management.

Code

public function testpmEnableAll() {
  $submodules = array(
    'pmexpense',
    'pmissue',
    'pmnote',
    'pmorganization',
    'pmperson',
    'pmproject',
    'pmtask',
    'pmteam',
    'pmticket',
    'pmtimetracking',
  );
  $result = module_enable($submodules, TRUE);
  $this
    ->assertTrue($result, t('Modules enabled successfully.'));
}