Index: modules/translation/translation.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/translation/translation.test,v
retrieving revision 1.34
diff -u -p -r1.34 translation.test
--- modules/translation/translation.test	23 Nov 2010 05:53:49 -0000	1.34
+++ modules/translation/translation.test	30 Dec 2010 20:19:21 -0000
@@ -120,6 +120,15 @@ class TranslationTestCase extends Drupal
     $this->assertFieldByXPath('//select[@name="language"]//option', 'it', t('Italian (disabled) is available in language selection.'));
     $translation_it = $this->createTranslation($node, $this->randomName(), $this->randomName(), 'it');
     $this->assertRaw($translation_it->body['it'][0]['value'], t('Content created in Italian (disabled).'));
+
+    // Leave just one language enabled and check that the translation overview
+    // is still accessible.
+    $this->drupalLogin($this->admin_user);
+    $edit = array('enabled[es]' => FALSE);
+    $this->drupalPost('admin/config/regional/language', $edit, t('Save configuration'));
+    $this->drupalLogin($this->translator);
+    $this->drupalGet('node/' . $node->nid . '/translate');
+    $this->assertRaw(t('Translations of %title', array('%title' => $node->title)), t('Translation overview available with only one language enabled.'));
   }
 
   /**
