diff --git a/Modules/Test/classes/class.ilObjTestAccess.php b/Modules/Test/classes/class.ilObjTestAccess.php index 211759b7aa6f..ac263afec15e 100644 --- a/Modules/Test/classes/class.ilObjTestAccess.php +++ b/Modules/Test/classes/class.ilObjTestAccess.php @@ -365,7 +365,7 @@ public static function _getCommands(): array $commands = [ ["permission" => "write", "cmd" => "questionsTabGateway", "lang_var" => "tst_edit_questions"], ["permission" => "write", "cmd" => "ilObjTestSettingsMainGUI::showForm", "lang_var" => "settings"], - ["permission" => "read", "cmd" => "testScreen", "lang_var" => "tst_run", "default" => true], + ["permission" => "read", "cmd" => "ilTestScreenGUI::testScreen", "lang_var" => "tst_run", "default" => true], ["permission" => "tst_statistics", "cmd" => "outEvaluation", "lang_var" => "tst_statistical_evaluation"], ["permission" => "read", "cmd" => "userResultsGateway", "lang_var" => "tst_user_results"], ["permission" => "write", "cmd" => "testResultsGateway", "lang_var" => "results"], diff --git a/Modules/Test/classes/class.ilObjTestListGUI.php b/Modules/Test/classes/class.ilObjTestListGUI.php index 0e36472ec8cb..5eac7806abd0 100644 --- a/Modules/Test/classes/class.ilObjTestListGUI.php +++ b/Modules/Test/classes/class.ilObjTestListGUI.php @@ -142,7 +142,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('ilTestScreenGUI::testScreen'), $this->lng->txt('tst_start_test')); } return $this->handleUserResultsCommand($commands); }