summaryrefslogtreecommitdiff
path: root/modules/locale/locale.test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/locale/locale.test')
-rw-r--r--modules/locale/locale.test5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/locale/locale.test b/modules/locale/locale.test
index 3ae6d91a5..ec9d1d82f 100644
--- a/modules/locale/locale.test
+++ b/modules/locale/locale.test
@@ -291,9 +291,8 @@ class LocaleTranslationFunctionalTest extends DrupalWebTestCase {
$this->assertRaw(t('The language %locale has been removed.', array('%locale' => $name)), t('The test language has been removed.'));
// Reload to remove $name.
$this->drupalGet($path);
- $this->assertNoText($langcode, t('Language code not found.'));
- $this->assertNoText($name, t('Name not found.'));
- $this->assertNoText($native, t('Native not found.'));
+ // Verify that language is no longer found.
+ $this->assertResponse(404, t('Language no longer found.'));
$this->drupalLogout();
// Delete the string.