Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

(no description)

File Size: 56 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 lib/behat/behat_base.php

Defines 1 class

behat_moodlenet:: (2 methods):
  mock_is_configured()
  change_service_base_url_to_mock_url()


Class: behat_moodlenet  - X-Ref

Steps definitions related to MoodleNet.

mock_is_configured()   X-Ref
Check that the TEST_MOODLENET_MOCK_SERVER is defined, so we can connect to the mock server.


change_service_base_url_to_mock_url(string $field)   X-Ref
Change the service base url to the TEST_MOODLENET_MOCK_SERVER url.

param: string $field Field name