i18n_forum.test 744 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * @file
  4. * Test case for multilingual forums.
  5. */
  6. class i18nForumTestCase extends Drupali18nTestCase {
  7. public static function getInfo() {
  8. return array(
  9. 'name' => 'Multilingual forum',
  10. 'group' => 'Internationalization',
  11. 'description' => 'Tests multilingual forum',
  12. );
  13. }
  14. public function setUp() {
  15. parent::setUp('translation', 'i18n_select', 'i18n_forum');
  16. parent::setUpLanguages();
  17. parent::setUpContentTranslation();
  18. }
  19. /**
  20. * Tests i18n_select integration.
  21. */
  22. public function testI18nSelectTest() {
  23. // @TODO: improve test. its just a quick test against the PDO exception
  24. // @see http://drupal.org/node/1437932
  25. $this->i18nGet($this->default_language, 'forum');
  26. }
  27. }