Skip to:
Content

BuddyPress.org

Changeset 13720 for trunk/composer.json


Ignore:
Timestamp:
01/31/2024 08:09:06 PM (18 months ago)
Author:
imath
Message:

Update wp-env to version 9.0.0 & adapt the PHPUnit tests suite to it

  • Update PHPUnit related npm scripts for wp-env 9.0.0.
  • Create test_multi: a new composer script to run Multisite Unit tests.
  • Remove our composer dependency to wp-phpunit/wp-phpunit.
  • Update the PHPUnit tests suite so that it stops using wp-phpunit/wp-phpunit when it's within the wp-env context.
  • Remove no more used PHPUnit specific configuration files.

Fixes #9053
Closes https://github.com/buddypress/buddypress/pull/211

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/composer.json

    r13684 r13720  
    4747    "require-dev": {
    4848        "buddypress/bp-coding-standards": "dev-trunk",
    49         "wp-phpunit/wp-phpunit": "^6.4",
    5049        "yoast/phpunit-polyfills": "^1.0"
    5150    },
    5251    "scripts": {
    5352        "test": "@php ./vendor/phpunit/phpunit/phpunit",
     53        "test_multi": "@php ./vendor/phpunit/phpunit/phpunit -c tests/phpunit/multisite.xml",
    5454        "phpcs": "@php ./vendor/bin/phpcs"
    5555    }
Note: See TracChangeset for help on using the changeset viewer.