While trying to run drupal core tests, I ran this:
$ vendor/bin/phpunit -c core/
PHP Fatal error: Uncaught Error: Class "Drupal\Tests\aggregator\Functional\Rest\ItemResourceTestBase" not found in /var/www/html/html/modules/contrib/hal/tests/src/Functional/aggregator/ItemHalJsonTestBase.php:13
It turns out that this error is because the aggregator module has recently been taken out of core, and now needs to be installed as a contrib module. So I did so.
$ vendor/bin/phpunit -c core/
PHP Fatal error: Uncaught Error: Class "Drupal\Tests\rdf\Functional\Rest\RdfMappingResourceTestBase" not found in /home/dan/MFIN-Data-Catalogue/html/modules/contrib/hal/tests/src/Functional/rdf/RdfMappingHalJsonCookieTest.php:11
The RDF module has also been deprecated, and also moved to contrib.
Installing both of Aggregator and RDF allowed the tests to run properly. I suggest that they be added as dependencies for hal, or else that the tests be updated.
Closed: outdated
2.0
Code