Updated the file import for tests CT#191

skala
Arthur Portugal 15 years ago
parent 95ff741cde
commit 8b6706c84e
  1. 8
      tests/main/webservices/user_import/import.lib.test.php

@ -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);
}*/
}
?>

Loading…
Cancel
Save