|
|
|
@ -3,6 +3,7 @@ require_once(api_get_path(SYS_CODE_PATH).'webservices/user_import/import.lib.php |
|
|
|
|
require_once(api_get_path(LIBRARY_PATH).'usermanager.lib.php'); |
|
|
|
|
require_once(api_get_path(LIBRARY_PATH).'import.lib.php'); |
|
|
|
|
require_once(api_get_path(LIBRARY_PATH).'classmanager.lib.php'); |
|
|
|
|
require_once(api_get_path(LIBRARY_PATH).'course.lib.php'); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class TestImpor extends UnitTestCase { |
|
|
|
@ -38,5 +39,12 @@ class TestImpor extends UnitTestCase { |
|
|
|
|
$this->assertTrue(is_array($res)); |
|
|
|
|
//var_dump($res); |
|
|
|
|
} |
|
|
|
|
/** |
|
|
|
|
* This functon only is added to the end of the test and the end of the files in the all test. |
|
|
|
|
*/ |
|
|
|
|
/*public function testDeleteCourse() { |
|
|
|
|
global $cidReq; |
|
|
|
|
$resu = CourseManager::delete_course($cidReq); |
|
|
|
|
}*/ |
|
|
|
|
} |
|
|
|
|
?> |
|
|
|
|