Completed
Push — master ( a73e85...13dd2e )
by Julito
08:28
created

GetCourseLpProgressTest::testCourseList()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 4
rs 10
1
<?php
2
3
/* For licensing terms, see /license.txt */
4
5
require_once __DIR__.'/V2TestCase.php';
6
require_once __DIR__.'/../../../../vendor/autoload.php';
7
8
class GetCourseLpProgressTest extends V2TestCase
9
{
10
    public function action()
11
    {
12
        return 'course_lp_progress';
13
    }
14
15
    public function testCourseList()
16
    {
17
        $result = $this->dataArray();
18
        $this->assertIsArray($result);
19
20
        //$result = $this->dataArray();
21
22
        //$this->assertIsObject($result);
23
        //$this->assertObjectHasAttribute('courses', $result);
24
25
        //$this->assertSame(1, count($urls));
26
27
        // expect the web service to return false
28
        //$this->assertFalse($this->boolean(['loginname' => $loginName]));
29
    }
30
}
31