Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix state verification in check_editorfield for essayautograde question type #82

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rajandangi
Copy link

@rajandangi rajandangi commented Jun 21, 2024

This PR resolves #81 where the check_editorfield method was incorrectly verifying the final state of an essayautograde question as gradedwrong instead of gaveup.

Changes

  • Modified check_editorfield method to set the expected final state to gaveup.
  • Included the response text in a variable for better readability and maintainability.

Alternative Solutions

Another PR #83 also addresses the same issue with a different approach. Either of these PRs can be used to resolve the state verification problem.

Adjusted the final state verification to correctly identify 'gaveup' instead of 'gradedwrong' when no marks are assigned.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PHPUnit Test Failures in: question_state_gaveup instead of question_state_gradewrong
1 participant