Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-57863

Restore test error in behat

XMLWordPrintable

      Behat test "Restore a backup in an existing course retaining the backup course settings" is asserting wrong behavior.

      When backup of one course is merged into another course the visibility of existing sections should not be changed. However this test asserts that it was changed.

      The reason why it happens is because sections for the target course were never created - they are only created during the first visit to the course.

      In MDL-57769 I change the create_course function to force it to create all sections during course creation and this test started failing. I don't know if/when MDL-57769 will be accepted to core so I'm creating a new issue about the behat error

            Unassigned Unassigned
            marina Marina Glancy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.