danmarsden / moodle-local_recompletion

Allows course recompletion
29 stars 45 forks source link

Invalid default value for recompletiontype. #157

Closed ewallah closed 8 months ago

ewallah commented 8 months ago

Invalid default value for recompletiontype.

Before:

php admin/tool/behat/cli/run.php -vvv --colors --profile="chrome" --tags="@tool_admin_presets" --suite="default"

001 Scenario: Applied exported settings                               #admin/tool/admin_presets/tests/behat/apply_presets.feature:136
      When I choose "Review settings and apply" in the open action menu #admin/tool/admin_presets/tests/behat/apply_presets.feature:143
        Exception: debugging() message/s found:
        local_recompletion/recompletiontype setting has a wrong value!
002 Scenario: Export current settings                                   #admin/tool/admin_presets/tests/behat/export_settings.feature:20
      When I choose "Review settings and apply" in the open action menu #admin/tool/admin_presets/tests/behat/export_settings.feature:26
        Exception: debugging() message/s found:
        local_recompletion/recompletiontype setting has a wrong value!

After:

php admin/tool/behat/cli/run.php -vvv --colors --profile="chrome" --tags="@tool_admin_presets" --suite="default" --rerun
................................
2 scenarios (2 passed)
32 steps (32 passed)
danmarsden commented 8 months ago

thanks for the PR!