MDL-87713 core: Switch to moodle/moodle-testing package for phpunit/behat

This ensures that the same set of dependencies are installed for both a
regular Moodle install, and a Composer-based install.
This commit is contained in:
Andrew Nicols
2026-01-30 15:01:08 +08:00
parent b3cd83bd48
commit f5363dab4f
2 changed files with 42 additions and 12 deletions
+2 -11
View File
@@ -8,17 +8,8 @@
"moodle/lms": "5.2"
},
"require-dev": {
"phpunit/phpunit": "^11",
"mikey179/vfsstream": "1.6.*",
"behat/mink": "^1.11.0",
"friends-of-behat/mink-extension": "^2.7.5",
"behat/mink-browserkit-driver": "^2.2.0",
"symfony/process": "^4.4 || ^5.0 || ^6.0 || ^7.0",
"symfony/http-client": "^4.4 || ^5.0 || ^6.0 || ^7.0",
"symfony/mime": "^4.4 || ^5.0 || ^6.0 || ^7.0",
"behat/behat": "^3",
"oleg-andreyev/mink-phpwebdriver": "1.3.*",
"filp/whoops": "^2.15"
"filp/whoops": "^2.15",
"moodle/moodle-testing": "^1.0"
},
"autoload-dev": {
"psr-0": {
Generated
+40 -1
View File
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "3dcfbdf14a6f8c9dcd084ac8188bb1a0",
"content-hash": "719277715b79042b5b3fc6201a90ea8f",
"packages": [],
"packages-dev": [
{
@@ -706,6 +706,45 @@
},
"time": "2024-08-29T18:43:31+00:00"
},
{
"name": "moodle/moodle-testing",
"version": "v1.0.2",
"source": {
"type": "git",
"url": "https://github.com/moodle/moodle-testing.git",
"reference": "1ccda1c03f65c8d0f30fdcf77c95e0d1ffd3f971"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/moodle/moodle-testing/zipball/1ccda1c03f65c8d0f30fdcf77c95e0d1ffd3f971",
"reference": "1ccda1c03f65c8d0f30fdcf77c95e0d1ffd3f971",
"shasum": ""
},
"require": {
"behat/behat": "^3",
"behat/mink": "^1.11.0",
"behat/mink-browserkit-driver": "^2.2.0",
"friends-of-behat/mink-extension": "^2.7.5",
"mikey179/vfsstream": "^1.6",
"moodle/lms": "^5.1-",
"oleg-andreyev/mink-phpwebdriver": "1.3.*",
"phpunit/phpunit": "^11",
"symfony/http-client": "^4.4 || ^5.0 || ^6.0 || ^7.0",
"symfony/mime": "^4.4 || ^5.0 || ^6.0 || ^7.0",
"symfony/process": "^4.4 || ^5.0 || ^6.0 || ^7.0"
},
"type": "metapackage",
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-3.0-or-later"
],
"description": "Test dependencies for Moodle installations",
"support": {
"issues": "https://github.com/moodle/moodle-testing/issues",
"source": "https://github.com/moodle/moodle-testing/tree/v1.0.2"
},
"time": "2026-01-07T03:56:51+00:00"
},
{
"name": "myclabs/deep-copy",
"version": "1.13.4",