summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-05-20 20:28:05 +0000
committerDries Buytaert <dries@buytaert.net>2008-05-20 20:28:05 +0000
commit83601ea040be14073af582d2b4e40f29e78a57df (patch)
tree6db010ede29e65c603038a4b7504f25f0417e9c4 /modules/simpletest
parente2c4cbd019b63ed6b4d89b2ae0b12a12e5b6dded (diff)
downloadbrdo-83601ea040be14073af582d2b4e40f29e78a57df.tar.gz
brdo-83601ea040be14073af582d2b4e40f29e78a57df.tar.bz2
- Patch #260383 by webchick: better debugging for form errors in simpletest.
Diffstat (limited to 'modules/simpletest')
-rw-r--r--modules/simpletest/drupal_web_test_case.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php
index 3084355d5..208469554 100644
--- a/modules/simpletest/drupal_web_test_case.php
+++ b/modules/simpletest/drupal_web_test_case.php
@@ -579,7 +579,7 @@ class DrupalWebTestCase extends UnitTestCase {
}
}
// We have not found a form which contained all fields of $edit.
- $this->fail(t('Found the requested form'));
+ $this->fail(t('Found the requested form at @path', array('@path' => $path)));
$this->assertTrue($submit_matches, t('Found the @submit button', array('@submit' => $submit)));
foreach ($edit as $name => $value) {
$this->fail(t('Failed to set field @name to @value', array('@name' => $name, '@value' => $value)));