summaryrefslogtreecommitdiff
path: root/modules/help
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-08-05 23:26:36 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-08-05 23:26:36 +0000
commitcacd044a6398df92de68c5aea31987ac0fff507a (patch)
tree41305d208c037ae0aad0c68fb23beb66715f145a /modules/help
parentefbf061c8142c201967389eac42e8284dfa9aff9 (diff)
downloadbrdo-cacd044a6398df92de68c5aea31987ac0fff507a.tar.gz
brdo-cacd044a6398df92de68c5aea31987ac0fff507a.tar.bz2
#500866 by boombatower, solotandem: Remove t() from assertion messages in SimpleTest, so translators do not get 1000s of bogus strings.
Diffstat (limited to 'modules/help')
-rw-r--r--modules/help/help.test14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/help/help.test b/modules/help/help.test
index db739f345..070f8159a 100644
--- a/modules/help/help.test
+++ b/modules/help/help.test
@@ -41,17 +41,17 @@ class HelpTestCase extends DrupalWebTestCase {
// Check for css on admin/help.
$this->drupalLogin($this->big_user);
$this->drupalGet('admin/help');
- $this->assertRaw(drupal_get_path('module', 'help') . '/help.css', t('The help.css file is present in the HTML.'));
+ $this->assertRaw(drupal_get_path('module', 'help') . '/help.css', 'The help.css file is present in the HTML.');
// Verify that introductory help text exists, goes for 100% module coverage.
$this->assertRaw(t('For more information, refer to the specific topics listed in the next section or to the <a href="@drupal">online Drupal handbooks</a>.', array('@drupal' => 'http://drupal.org/handbooks')), 'Help intro text correctly appears.');
// Verify that help topics text appears.
- $this->assertRaw('<h2>' . t('Help topics') . '</h2><p>' . t('Help is available on the following items:') . '</p>', t('Help topics text correctly appears.'));
+ $this->assertRaw('<h2>' . t('Help topics') . '</h2><p>' . t('Help is available on the following items:') . '</p>', 'Help topics text correctly appears.');
// Make sure links are properly added for modules implementing hook_help().
foreach ($this->modules as $module => $name) {
- $this->assertLink($name, 0, t('Link properly added to @name (admin/help/@module)', array('@module' => $module, '@name' => $name)));
+ $this->assertLink($name, 0, 'Link properly added to ' . $name . ' (admin/help/' . $module . ')');
}
}
@@ -66,9 +66,9 @@ class HelpTestCase extends DrupalWebTestCase {
$this->drupalGet('admin/help/' . $module);
$this->assertResponse($response);
if ($response == 200) {
- $this->assertTitle($name . ' | Drupal', t('[' . $module . '] Title was displayed'));
- $this->assertRaw('<h1 class="page-title">' . t($name) . '</h1>', t('[' . $module . '] Heading was displayed'));
- }
+ $this->assertTitle($name . ' | Drupal', '[' . $module . '] Title was displayed');
+ $this->assertRaw('<h1 class="page-title">' . t($name) . '</h1>', '[' . $module . '] Heading was displayed');
+ }
}
}
@@ -116,6 +116,6 @@ class NoHelpTestCase extends DrupalWebTestCase {
$this->drupalLogin($this->big_user);
$this->drupalGet('admin/help');
- $this->assertNoText('Hook menu tests', t('Making sure the test module menu_test does not display a help link in admin/help'));
+ $this->assertNoText('Hook menu tests', 'Making sure the test module menu_test does not display a help link in admin/help');
}
}