ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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();
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.
Class ilTestBaseClass.
addGlobal_ilRbacAdmin()
addGlobal_ilLoggerFactory()