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