Modified - modifying the test of function get_language_file_as_xml.

skala
Ricardo Rodriguez 15 years ago
parent 30f2d55f94
commit 9232813887
  1. 8
      tests/main/conference/get_translation.lib.test.php

@ -4,8 +4,14 @@ require_once(api_get_path(SYS_CODE_PATH).'conference/get_translation.lib.php');
class TestGetTranslation extends UnitTestCase {
function testget_language_file_as_xml(){
ob_start();
$res=get_language_file_as_xml($language='english');
$this->assertTrue(($res));
ob_end_clean();
if(is_string($res)) {
$this->assertFalse($res);
} else {
$this->assertTrue($res);
}
//var_dump($res);
}
}

Loading…
Cancel
Save