19 declare(strict_types=1);
33 protected function setUp(): void
36 $this->dic_backup = is_object($DIC) ? clone
$DIC :
$DIC;
39 $DIC[
'ilDB'] = $this->db_mock = $this->createMock(ilDBInterface::class);
59 protected int $id = 0;
68 protected string $string_data;
70 public function getConnectorContainerName():
string 78 $primaryField = $arFieldList->getPrimaryField();
79 $this->assertEquals(
'id', $primaryField->getName());
80 $this->assertEquals(8, $primaryField->getLength());
81 $this->assertEquals(
'integer', $primaryField->getFieldType());
82 $this->assertEquals(
false, $primaryField->getIndex());
83 $this->assertEquals(
true, $primaryField->getPrimary());
85 $arField = $arFieldList->getFieldByName(
'string_data');
86 $this->assertEquals(
'string_data', $arField->getName());
87 $this->assertEquals(256, $arField->getLength());
88 $this->assertEquals(
'text', $arField->getFieldType());
89 $this->assertEquals(
true, $arField->getIndex());
90 $this->assertEquals(
false, $arField->getPrimary());
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getInstance(ActiveRecord $activeRecord)
Customizing of pimple-DIC for ILIAS.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins