-
Task
-
Resolution: Fixed
-
Minor
-
4.1
-
MOODLE_401_STABLE
-
MOODLE_401_STABLE
-
Right now we are using the Goutte driver 1.x that uses old Goutte client.
And we were holding on this PR in Mink to be able to bump:
https://github.com/FriendsOfBehat/MinkExtension/pull/16
It has been merged hours ago, and they have released v2.7.2:
https://github.com/FriendsOfBehat/MinkExtension/releases/tag/v2.7.2
So, this issue is about to update our dependencies to use that mink extension and the newer goutte versions.
Off topic, note that, as an alternative to bump to Goutte 4, we were planning to switch to BrowserKit client, that is better supported (apparently) and, more yet, the current Goutte client, is a thin-wrapper over BrowserKit. So 100% the same codebase is used (in fact, when Goutte 4 is installed, all the BrowserKit components are installed too, heh).
So, looking to the BrowserKit alternative, I ended with this super-simple patch that allowed us to make the switch (and all tests were passing perfectly @ Cis). I leave it here for future reference when BrowserKit or HttpClient are searched / considered:
https://github.com/stronk7/moodle/compare/master...bump_goutte_driver_20
Given the times (freeze, release...) we have decided to stay with Goutte client a bit longer.
Ciao
- has been marked as being related by
-
MDL-78934 Move from (archived) Goutte to BrowserKit
-
- Closed
-