Problem/Motivation
I am trying to run some tests on a 8.8.1 installation and I get the following messages:
Drupal\Core\Extension\InfoParserException: The 'core' or the 'core_version_requirement' key must be present in modules/contrib/facets/modules/facets_rest/tests/rest_view/rest_view.info.yml
Drupal\Core\Extension\InfoParserException: The 'core' or the 'core_version_requirement' key must be present in modules/contrib/facets/tests/facets_custom_widget/facets_custom_widget.info.yml
Drupal\Core\Extension\InfoParserException: The 'core' or the 'core_version_requirement' key must be present in modules/contrib/facets/tests/facets_events_test/facets_events_test.info.yml
Drupal\Core\Extension\InfoParserException: The 'core' or the 'core_version_requirement' key must be present in modules/contrib/facets/tests/facets_query_processor/facets_query_processor.info.yml
Drupal\Core\Extension\InfoParserException: The 'core' or the 'core_version_requirement' key must be present in modules/contrib/facets/tests/facets_search_api_dependency/facets_search_api_dependency.info.yml
Steps to reproduce
Run tests using phpunit, i.e. ./vendor/bin/phpunit -c core
Proposed resolution
Not sure this is the correct fix, I see this should be already covered here #3090592: Drupal 9 readiness / compatibility, but somehow is not committed. Other modules should also have core_version_requirement: ^8.8 || ^9 in their respective .info.yml files.
Issue fork facets-3182762
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #5
borisson_Merged, thanks!