moodleou / moodle-mod_oublog

Alternative blog module for Moodle 2 (including course blogs)
31 stars 29 forks source link

Fix the i_add_to_section_and_i_fill_the_form_with deprecation for Moodle 4.4 #147

Open Julian-Tovar opened 2 weeks ago

Julian-Tovar commented 2 weeks ago

Good day team,

In Moodle 4.4 this Behat step was deprecated:

And I add a "OU blog" to section "0" and I fill the form with:

In file 'tests/behat/sharedblog.feature', you can see these steps:

When I am on "Course 1" course homepage
And I add a "OU blog" to section "0" and I fill the form with:

There are three instances of that deprecation on that file alone.

I have created this patch, to ready up the Behat tests for Moodle 4.4 as far as this deprecation is concerned. oublog_patch_Behat_4.4.patch

Let me know if this patch is acceptable or if it contains mistakes or missing parts, and if I should create a PR with it or if you apply it on your side in that case.

Thank you.

jason-platts commented 1 week ago

Thanks for writing this. We have fixed the 4.4 issues in oublog but as we haven't finalised the internal test + release yet we have yet to push the changes publicly. We would expect to do that later this month or start of Nov.