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.
References $dic, $GLOBALS, and setGlobalVariable().
39 $this->getMockBuilder(ilSetting::class)->disableOriginalConstructor()->getMock()
setGlobalVariable(string $name, $value)
Customizing of pimple-DIC for ILIAS.
◆ testConstructorWithArray()
ilECSUserTest::testConstructorWithArray |
( |
| ) |
|
Definition at line 61 of file ilECSUserTest.php.
64 $testdata[
'ecs_login'] =
'testlogin';
65 $testdata[
'ecs_firstname'] =
'test_firstname';
66 $testdata[
'ecs_lastname'] =
'test_lastname';
68 $testdata[
'ecs_institution'] =
'test_institution';
69 $testdata[
'ecs_email'] =
'test@email.nowhere';
70 $testdata[
'ecs_uid_hash'] =
'test_hash';
73 $this->assertEquals(
'testlogin', $user->getLogin());
Stores relevant user data.
The documentation for this class was generated from the following file: