GetDKAN / dkan-tools

CLI tools for DKAN site management
https://getdkan.github.io/dkan-tools/
15 stars 14 forks source link

Class 'DkanTools\Command\Util' not found while running project tests #332

Closed paul-m closed 1 year ago

paul-m commented 2 years ago

Describe the bug

Trying to run phpunit tests for one of the open data sites, I get an error about the Util class not being found.

Steps To Reproduce

# dktl setup steps
 dktl project:test-phpunit
Fatal error: Uncaught Error: Class 'DkanTools\Command\Util' not found in /usr/local/dkan-tools/src/Command/ProjectCommands.php:112
Stack trace:
#0 [internal function]: DkanTools\Command\ProjectCommands->projectTestPhpunit(Array, Array)
[ .. etc .. ]

Expected behavior

dktl should run the tests.