ILIAS  trunk Revision v11.0_alpha-1713-gd8962da2f67
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilECSTestSettingsTest.php
Go to the documentation of this file.
1 <?php
2 
20 {
22 
23  protected function setUp(): void
24  {
25  parent::setUp();
26 
27  $this->addGlobal_ilRbacAdmin();
28  $this->addGlobal_ilLoggerFactory();
29 
30  $this->testObj = new ilECSTestSettings($this->createMock(ilObject::class));
31  }
32 
33  public function testConstruct(): void
34  {
35  $this->assertInstanceOf(ilECSTestSettings::class, $this->testObj);
36  }
37 
38  public function testGetECSObjectType(): void
39  {
40  $this->assertEquals('/campusconnect/tests', self::callMethod($this->testObj, 'getECSObjectType'));
41  }
42 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ilECSTestSettings.