Skip to content

Commit

Permalink
Allow tests to run against PHP Unit ^9 in D9.
Browse files Browse the repository at this point in the history
  • Loading branch information
arlina-espinoza committed Dec 7, 2020
1 parent d99919e commit 5344385
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .circleci/RoboFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,17 @@ public function drupalVersion($drupalCoreVersion)
$config->require->{"drupal/core-dev"} = '^9.1';
$config->require->{"phpspec/prophecy-phpunit"} = '^2';

/**
* @todo Run tests against PHP Unit ^8 until the following issue has
* been fixed in a stable release from Drupal Core.
*
* @see https://www.drupal.org/project/drupal/issues/3186443
*/
if (!isset($config->{"require-dev"})) {
$config->{"require-dev"} = new \stdClass();
}
$config->{"require-dev"}->{"phpunit/phpunit"} = '^8';

break;

case '8':
Expand Down

0 comments on commit 5344385

Please sign in to comment.