From 24d27b88c75b23eaa4c1bdb83b1752d27d6d6405 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 2 Jun 2008 17:39:12 +0000 Subject: - Patch #260501 by cwgordon7: made the trigger module tests pass. --- modules/simpletest/drupal_web_test_case.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/simpletest') diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php index 1944c659f..946777eda 100644 --- a/modules/simpletest/drupal_web_test_case.php +++ b/modules/simpletest/drupal_web_test_case.php @@ -368,7 +368,8 @@ class DrupalWebTestCase extends UnitTestCase { drupal_install_system(); // Add the specified modules to the list of modules in the default profile. - $modules = array_unique(array_merge(func_get_args(), drupal_verify_profile('default', 'en'))); + $args = func_get_args(); + $modules = array_unique(array_merge(drupal_verify_profile('default', 'en'), $args)); drupal_install_modules($modules); // Store the list of modules for use in subsequent drupalModuleEnable calls. -- cgit v1.2.3