diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-09-30 15:00:38 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-09-30 15:00:38 -0700 |
commit | e120a6e886a40eaf135f6032aa47e3eeeb58b3af (patch) | |
tree | a5cff291469b3cda0204f79359d27f5aad6c33ec /modules/locale | |
parent | bd11d95c334a39fe6bf24c932c43f124b20ff139 (diff) | |
download | brdo-e120a6e886a40eaf135f6032aa47e3eeeb58b3af.tar.gz brdo-e120a6e886a40eaf135f6032aa47e3eeeb58b3af.tar.bz2 |
Issue #76824 by geerlingguy, xjm, droplet, kbahey: Change notice for Drupal should not handle 404 for certain files.
Diffstat (limited to 'modules/locale')
-rw-r--r-- | modules/locale/locale.test | 5 |
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. |