-
Bug
-
Resolution: Fixed
-
Minor
-
4.1.3, 4.2, 4.3
-
MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE
-
MOODLE_401_STABLE, MOODLE_402_STABLE
-
MDL-78036_401 -
-
1
-
Team Hedgehog 2023 Sprint 2.1
-
Small
Problem 1: While working on improving how the /admin/tool/behat/index.html page behaves when the php executable cannot be found, it was detected that there is a small php81 problem that escaped to our tests.
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in lib/behat/extension/Moodle/BehatExtension/Definition/Printer/ConsoleDefinitionInformationPrinter.php on line 63
|
Problem 2: At the same time, it called my attention that the links in that very same page are pointing to the old dev docs, and it seems that we already have new dev docs counterparts in place.
$ ag 'docs.moodle.org' admin/tool/behat
|
admin/tool/behat/renderer.php
|
187: $writetestsurl = 'https://docs.moodle.org/dev/Writing acceptance tests';
|
189: $writestepsurl = 'https://docs.moodle.org/dev/Writing_new_acceptance_test_step_definitions';
|
|
admin/tool/behat/cli/util_single_run.php
|
92:More info in http://docs.moodle.org/dev/Acceptance_testing#Running_tests
|
|
admin/tool/behat/cli/init.php
|
105:More info in http://docs.moodle.org/dev/Acceptance_testing#Running_tests
|
|
admin/tool/behat/cli/run.php
|
90:More info in http://docs.moodle.org/dev/Acceptance_testing#Running_tests
|
|
admin/tool/behat/lang/en/tool_behat.php
|
33:$string['fieldvalueargument_help'] = 'This argument should be completed by a field value. There are many field types, including simple ones like checkboxes, selects or textareas, or complex ones like date selectors. See the dev documentation <a href="https://docs.moodle.org/dev/Acceptance_testing" target="_blank">Acceptance_testing</a> for details of expected field values.';
|
|
admin/tool/behat/cli/util.php
|
97:More info in http://docs.moodle.org/dev/Acceptance_testing#Running_tests
|
So this issue is about to fix the 2 commented problems above.
Ciao
- will help resolve
-
MDL-77708 Update references from docs.moodle.org/dev/ to moodledev.io/
-
- Closed
-