ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilQuestionUsagesTableGUITest.php
Go to the documentation of this file.
1 <?php
2 
29 {
30  protected $backupGlobals = false;
31 
33 
34  protected function setUp(): void
35  {
36  parent::setUp();
37 
38  $this->addGlobal_objDefinition();
39 
40  if (!defined("ROOT_FOLDER_ID")) {
41  define("ROOT_FOLDER_ID", 8);
42  }
43  if (!defined("ANONYMOUS_USER_ID")) {
44  define("ANONYMOUS_USER_ID", 13);
45  }
46 
47  $this->object = new ilQuestionUsagesTableGUI((object) [], '', '', $this->createMock(assQuestion::class));
48  }
49 
50  public function testConstruct(): void
51  {
52  $this->assertInstanceOf(ilQuestionUsagesTableGUI::class, $this->object);
53  }
54 }
Class assBaseTestCase.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...