18declare(strict_types=1);
23use PHPUnit\Framework\MockObject\MockObject;
24use PHPUnit\Framework\TestCase;
31 protected function setUp(): void
38 $this->getMockBuilder(ilSetting::class)->disableOriginalConstructor()->getMock()
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());
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
Customizing of pimple-DIC for ILIAS.
setGlobalVariable(string $name, $value)
testConstructorWithArray()
Stores relevant user data.
This is how the factory for UI elements looks.