Skip to content

Fix wrong XML data values to pass PHPUnit tests - #17

Open
ijuanfe wants to merge 1 commit into
vtos:MOODLE_400from
ijuanfe:MOODLE_400
Open

Fix wrong XML data values to pass PHPUnit tests#17
ijuanfe wants to merge 1 commit into
vtos:MOODLE_400from
ijuanfe:MOODLE_400

Conversation

@ijuanfe

@ijuanfe ijuanfe commented Mar 30, 2023

Copy link
Copy Markdown

This PR will fix an error and a risky warning that are thrown when running the PHPUnit tests:

  1. Error in mod_adaptivequiz_adaptiveattempt.xml file: it throws an error for those sites that have more than 50 modules in their databases (this also applies for the second file).
  2. Risky warning in mod_adaptivequiz.xml file: the first record in the course_modules table was defined with a wrong number (13 instead of 1) in the field instance. I also added a new record for this table based on the number of records that were define in the adaptivequiz table (3, not 2), so they are now in sync.

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.

1 participant