Skip to content

Commit

Permalink
Test: Set Test Obj Id Explicitely On Reset
Browse files Browse the repository at this point in the history
  • Loading branch information
kergomard committed Dec 16, 2024
1 parent d4f6179 commit 4af1933
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1554,6 +1554,7 @@ protected function discardSolutionCmd()
$current_question_obj = $this->getQuestionInstance(
$this->test_sequence->getQuestionForSequence($current_sequence_element)
);
$current_question_obj->setTestId($this->object->getId());

$current_question_obj->resetUsersAnswer(
$this->test_session->getActiveId(),
Expand Down

0 comments on commit 4af1933

Please sign in to comment.