summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-04-30 19:12:38 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-04-30 19:12:38 +0000
commit165b3253438ac4f041c36488de9dec944a3af450 (patch)
tree518aa147fdc184177ce85e9bc42b2020fca8561d
parent9d692bc28904566692d4de298bd40cc24f43da48 (diff)
downloadbrdo-165b3253438ac4f041c36488de9dec944a3af450.tar.gz
brdo-165b3253438ac4f041c36488de9dec944a3af450.tar.bz2
#779236 by rfay: Simpletest verbose setting should be set to on by default.
-rw-r--r--modules/simpletest/drupal_web_test_case.php2
-rw-r--r--modules/simpletest/simpletest.pages.inc4
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php
index 25e6b3972..58aa5a814 100644
--- a/modules/simpletest/drupal_web_test_case.php
+++ b/modules/simpletest/drupal_web_test_case.php
@@ -3003,7 +3003,7 @@ function simpletest_verbose($message, $original_file_directory = NULL, $test_cla
if ($original_file_directory) {
$file_directory = $original_file_directory;
$class = $test_class;
- $verbose = variable_get('simpletest_verbose', FALSE);
+ $verbose = variable_get('simpletest_verbose', TRUE);
$directory = $file_directory . '/simpletest/verbose';
$writable = file_prepare_directory($directory, FILE_CREATE_DIRECTORY);
if ($writable && !file_exists($directory . '/.htaccess')) {
diff --git a/modules/simpletest/simpletest.pages.inc b/modules/simpletest/simpletest.pages.inc
index 980075e84..0fff1889c 100644
--- a/modules/simpletest/simpletest.pages.inc
+++ b/modules/simpletest/simpletest.pages.inc
@@ -276,7 +276,7 @@ function simpletest_result_form($form, &$form_state, $test_id) {
// Set summary information.
$group_summary['#ok'] = $group_summary['#fail'] + $group_summary['#exception'] == 0;
- $form['result']['results'][$group]['#collapsed'] = $group_summary['#ok'] && !$group_summary['#debug'];
+ $form['result']['results'][$group]['#collapsed'] = $group_summary['#ok'];
// Store test group (class) as for use in filter.
$filter[$group_summary['#ok'] ? 'pass' : 'fail'][] = $group;
@@ -444,7 +444,7 @@ function simpletest_settings_form($form, &$form_state) {
'#type' => 'checkbox',
'#title' => t('Provide verbose information when running tests'),
'#description' => t('The verbose data will be printed along with the standard assertions and is useful for debugging. The verbose data will be erased between each test suite run. The verbose data output is very detailed and should only be used when debugging.'),
- '#default_value' => variable_get('simpletest_verbose', FALSE),
+ '#default_value' => variable_get('simpletest_verbose', TRUE),
);
$form['httpauth'] = array(