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/main/webservices/api/tests/GetCourseLpProgressTest.php

30 lines
728 B

<?php
/* For licensing terms, see /license.txt */
require_once __DIR__.'/V2TestCase.php';
require_once __DIR__.'/../../../../vendor/autoload.php';
class GetCourseLpProgressTest extends V2TestCase
{
public function action()
{
return 'course_lp_progress';
}
public function testCourseList()
{
$result = $this->dataArray();
$this->assertIsArray($result);
//$result = $this->dataArray();
//$this->assertIsObject($result);
//$this->assertObjectHasAttribute('courses', $result);
//$this->assertSame(1, count($urls));
// expect the web service to return false
//$this->assertFalse($this->boolean(['loginname' => $loginName]));
}
}