Class ilSessionTest.
More...
Class ilSessionTest.
Definition at line 30 of file ilECSUserTest.php.
◆ setGlobalVariable()
ilECSUserTest::setGlobalVariable |
( |
string |
$name, |
|
|
|
$value |
|
) |
| |
|
protected |
◆ setUp()
Definition at line 32 of file ilECSUserTest.php.
32 : void
33 {
36
38 'ilSetting',
39 $this->getMockBuilder(ilSetting::class)->disableOriginalConstructor()->getMock()
40 );
41
42 parent::setUp();
43 }
Customizing of pimple-DIC for ILIAS.
setGlobalVariable(string $name, $value)
References $dic, $GLOBALS, and setGlobalVariable().
◆ testConstructorWithArray()
ilECSUserTest::testConstructorWithArray |
( |
| ) |
|
Definition at line 61 of file ilECSUserTest.php.
61 : void
62 {
63 $testdata = [];
64 $testdata['ecs_login'] = 'testlogin';
65 $testdata['ecs_firstname'] = 'test_firstname';
66 $testdata['ecs_lastname'] = 'test_lastname';
67
68 $testdata['ecs_institution'] = 'test_institution';
69 $testdata['ecs_email'] = 'test@email.nowhere';
70 $testdata['ecs_uid_hash'] = 'test_hash';
71
73 $this->assertEquals('testlogin', $user->getLogin());
74 }
Stores relevant user data.
The documentation for this class was generated from the following file: