Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
chamilo-lms/tests/main/admin/sub_language.class.test.php

24 lines
598 B

<?php
require_once(api_get_path(SYS_CODE_PATH).'admin/sub_language.class.php');
class TestSubLanguageManager extends UnitTestCase {
/**
* Add directory for sub-language
* @param String The sub-language path directory ( /var/www/my_dokeos/main/lang/spanish_corporate )
* @return boolean
*/
public static function testadd_directory_of_sub_language() {
$path_sub_language='/var/www/nose';
$res=SubLanguageManager::add_directory_of_sub_language($path_sub_language);
$this->assertTrue(is_bool($path_sub_language));
var_dump($res);
}
}
?>