J'ai approuvé trop vite... Le plugin amoslink bloque l'installation de Behat sur mon Moodle local. Voici la liste d'erreurs quand je lance php admin/tool/behat/cli/init.php :
!!! Unsupported redirect detected, script execution terminated !!!
!!
Error code: redirecterrordetected !!
!! Stack trace: * line 2965 of \lib\weblib.php: moodle_exception thrown
* line 2378 of \lib\moodlelib.php: call to redirect()
* line 29 of \admin\tool\amoslink\settings.php: call to require_login()
* line 81 of \lib\classes\plugininfo\tool.php: call to include()
* line 778 of \admin\settings\plugins.php: call to core\plugininfo\tool->load_settings()
* line 8857 of \lib\adminlib.php: call to require()
* line 8886 of \lib\adminlib.php: call to admin_get_root()
* line 524 of \lib\installlib.php: call to admin_apply_default_settings()
* line 91 of \lib\behat\classes\util.php: call to install_cli_database()
* line 167 of \admin\tool\behat\cli\util_single_run.php: call to behat_util::install_site()
!!
Une recherche du message d'erreur "Unsupported redirect detected, script execution terminated" sur le forum anglophone de Moodle donne 31 résultats:
https://moodle.org/mod/forum/search.php?id=5&words=&phrase=Unsupported+redirect+detected%2C+script+execution+terminated¬words=&fullwords=&hfromday=1&hfrommonth=1&hfromyear=1&hfromhour=1&hfromminute=1&htoday=1&htomonth=1&htoyear=1&htohour=1&htominute=1&forumid=&subject=&user=