Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove invocation of drupal-phpunit-upgrade in Drupal 9 #41

Merged
merged 1 commit into from
May 6, 2021
Merged

Remove invocation of drupal-phpunit-upgrade in Drupal 9 #41

merged 1 commit into from
May 6, 2021

Conversation

gitressa
Copy link
Contributor

Drupal 9 is using PHPUnit 8.5.15, and the problem in Can't run PHPUnit tests since Drupal 8.8.0 on PHP 7.3+ was:

ERROR: PHPUnit testing framework version 7 or greater is required when running on PHP 7.3 or greater. Run the command 'composer run-script drupal-phpunit-upgrade' in order to fix this.

Tests work without running composer run-script drupal-phpunit-upgrade in Drupal 9:

$ lando phpunit --group big_pipe
PHPUnit 8.5.15 by Sebastian Bergmann and contributors.

Testing 
...............................                                   31 / 31 (100%)
Time: 1.69 minutes, Memory: 881.00 MB
OK (31 tests, 253 assertions)

Drupal 9 is using PHPUnit 8.5.15, and the problem was that PHPUnit testing framework version 7 or greater is required when running on PHP 7.3 or greater.
@serundeputy serundeputy merged commit 492e204 into thinktandem:9.x May 6, 2021
@serundeputy
Copy link
Contributor

thanks @gitressa !

@gitressa
Copy link
Contributor Author

gitressa commented May 7, 2021

Cool, thanks @serundeputy!

@gitressa gitressa deleted the remove_drupal_phpunit_upgrade branch May 7, 2021 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants