diff options
author | Jennifer Hodgdon <yahgrp@poplarware.com> | 2013-04-26 08:57:14 -0700 |
---|---|---|
committer | Jennifer Hodgdon <yahgrp@poplarware.com> | 2013-04-26 08:57:14 -0700 |
commit | 25150e7b60f6bf6d4d8fb8027e3199172b3f0e60 (patch) | |
tree | c00dd7aea70ae67a2fb7455f81f1f5c69b7b8d95 /modules/system | |
parent | 8ee9e5ab409021fbd250c7a093691c5a10f36ae2 (diff) | |
download | brdo-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/system')
-rw-r--r-- | modules/system/system.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/system/system.test b/modules/system/system.test index e7f38d5c5..7b47a40e5 100644 --- a/modules/system/system.test +++ b/modules/system/system.test @@ -2256,7 +2256,7 @@ class UpdateScriptFunctionalTest extends DrupalWebTestCase { // go through the update process uninterrupted. $this->drupalGet($this->update_url, array('external' => TRUE)); $this->drupalPost(NULL, array(), t('Continue')); - $this->assertText(t('No pending updates.'), t('End of update process was reached.')); + $this->assertText(t('No pending updates.'), 'End of update process was reached.'); // Confirm that all caches were cleared. $this->assertText(t('hook_flush_caches() invoked for update_script_test.module.'), 'Caches were cleared when there were no requirements warnings or errors.'); @@ -2274,7 +2274,7 @@ class UpdateScriptFunctionalTest extends DrupalWebTestCase { $this->assertNoText('This is a requirements warning provided by the update_script_test module.'); $this->drupalPost(NULL, array(), t('Continue')); $this->drupalPost(NULL, array(), t('Apply pending updates')); - $this->assertText(t('The update_script_test_update_7000() update was executed successfully.'), t('End of update process was reached.')); + $this->assertText(t('The update_script_test_update_7000() update was executed successfully.'), 'End of update process was reached.'); // Confirm that all caches were cleared. $this->assertText(t('hook_flush_caches() invoked for update_script_test.module.'), 'Caches were cleared after resolving a requirements warning and applying updates.'); @@ -2284,7 +2284,7 @@ class UpdateScriptFunctionalTest extends DrupalWebTestCase { $this->clickLink('try again'); $this->assertNoText('This is a requirements warning provided by the update_script_test module.'); $this->drupalPost(NULL, array(), t('Continue')); - $this->assertText(t('No pending updates.'), t('End of update process was reached.')); + $this->assertText(t('No pending updates.'), 'End of update process was reached.'); // Confirm that all caches were cleared. $this->assertText(t('hook_flush_caches() invoked for update_script_test.module.'), 'Caches were cleared after applying updates and re-running the script.'); @@ -2309,7 +2309,7 @@ class UpdateScriptFunctionalTest extends DrupalWebTestCase { $this->drupalLogin($this->update_user); $this->drupalGet($this->update_url, array('external' => TRUE)); $final_theme_data = db_query("SELECT * FROM {system} WHERE type = 'theme' ORDER BY name")->fetchAll(); - $this->assertEqual($original_theme_data, $final_theme_data, t('Visiting update.php does not alter the information about themes stored in the database.')); + $this->assertEqual($original_theme_data, $final_theme_data, 'Visiting update.php does not alter the information about themes stored in the database.'); } /** |