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