get_translation.lib.test.php 466 B

12345678910111213141516
  1. <?php
  2. require_once(api_get_path(SYS_CODE_PATH).'conference/get_translation.lib.php');
  3. class TestGetTranslation extends UnitTestCase {
  4. public function __construct() {
  5. $this->UnitTestCase('Conference translation getter library - main/conference/get_translation.lib.test.php');
  6. }
  7. function testget_language_file_as_xml(){
  8. ob_start();
  9. $res=get_language_file_as_xml($language='english');
  10. ob_end_clean();
  11. $this->assertTrue(is_string($res));
  12. }
  13. }