summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests/upgrade/upgrade.translatable.test
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2013-04-26 08:57:14 -0700
committerJennifer Hodgdon <yahgrp@poplarware.com>2013-04-26 08:57:14 -0700
commit25150e7b60f6bf6d4d8fb8027e3199172b3f0e60 (patch)
treec00dd7aea70ae67a2fb7455f81f1f5c69b7b8d95 /modules/simpletest/tests/upgrade/upgrade.translatable.test
parent8ee9e5ab409021fbd250c7a093691c5a10f36ae2 (diff)
downloadbrdo-25150e7b60f6bf6d4d8fb8027e3199172b3f0e60.tar.gz
brdo-25150e7b60f6bf6d4d8fb8027e3199172b3f0e60.tar.bz2
Issue #1797920 by dcam, izus, Lars Toomre: Remove t() from test asserts in misc system tests
Diffstat (limited to 'modules/simpletest/tests/upgrade/upgrade.translatable.test')
-rw-r--r--modules/simpletest/tests/upgrade/upgrade.translatable.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/simpletest/tests/upgrade/upgrade.translatable.test b/modules/simpletest/tests/upgrade/upgrade.translatable.test
index c9360f3b3..6fefb0ff0 100644
--- a/modules/simpletest/tests/upgrade/upgrade.translatable.test
+++ b/modules/simpletest/tests/upgrade/upgrade.translatable.test
@@ -28,7 +28,7 @@ class TranslatableUpgradePathTestCase extends UpgradePathTestCase {
* Test a successful upgrade (no negotiation).
*/
public function testTranslatableUpgrade() {
- $this->assertTrue($this->performUpgrade(), t('The upgrade was completed successfully.'));
+ $this->assertTrue($this->performUpgrade(), 'The upgrade was completed successfully.');
// The D6 database contains the english node "First translatable page" with
// nid 53.
@@ -39,12 +39,12 @@ class TranslatableUpgradePathTestCase extends UpgradePathTestCase {
// Check whether the node displays properly.
$this->drupalGet("node/$nid");
- $this->assertText($body, t('Translatable node body displays properly'));
+ $this->assertText($body, 'Translatable node body displays properly');
// Retrieve node object, ensure that both the body and the teaser has
// survived upgrade properly.
$node = $this->drupalGetNodeByTitle($title);
- $this->assertTrue($node != NULL, t('Node @title was loaded', array('@title' => $title)));
+ $this->assertTrue($node != NULL, format_string('Node @title was loaded', array('@title' => $title)));
$this->assertEqual($node->body[LANGUAGE_NONE][0]['value'], $body, 'Body of the node survived upgrade properly');
$this->assertEqual($node->body[LANGUAGE_NONE][0]['summary'], $teaser, 'Teaser of the node survived upgrade properly');
}