diff --git a/components/ILIAS/Test/classes/class.ilObjTestAccess.php b/components/ILIAS/Test/classes/class.ilObjTestAccess.php index e21b83777566..db2f13047918 100755 --- a/components/ILIAS/Test/classes/class.ilObjTestAccess.php +++ b/components/ILIAS/Test/classes/class.ilObjTestAccess.php @@ -364,7 +364,7 @@ public static function _getCommands(): array $commands = [ ["permission" => "write", "cmd" => "questionsTabGateway", "lang_var" => "tst_edit_questions"], ["permission" => "write", "cmd" => "ILIAS\Test\Settings\MainSettings\SettingsMainGUI::showForm", "lang_var" => "settings"], - ["permission" => "read", "cmd" => "testScreen", "lang_var" => "tst_run", "default" => true] + ["permission" => "read", "cmd" => "ILIAS\Test\Presentation\TestScreenGUI::testScreen", "lang_var" => "tst_run", "default" => true] ]; return $commands; diff --git a/components/ILIAS/Test/classes/class.ilObjTestListGUI.php b/components/ILIAS/Test/classes/class.ilObjTestListGUI.php index f600724421bb..6d0b3a98fb1f 100755 --- a/components/ILIAS/Test/classes/class.ilObjTestListGUI.php +++ b/components/ILIAS/Test/classes/class.ilObjTestListGUI.php @@ -141,7 +141,7 @@ public function getCommands(): array } $commands = parent::getCommands(); if ($this->access->checkAccess('read', '', $this->ref_id)) { - $this->insertCommand($this->getCommandLink('testScreen'), $this->lng->txt('tst_start_test')); + $this->insertCommand($this->getCommandLink('ILIAS\Test\Presentation\TestScreenGUI::testScreen'), $this->lng->txt('tst_start_test')); } return $commands; }