Skip to content
Snippets Groups Projects
Commit 5e4c239d authored by Demian Katz's avatar Demian Katz
Browse files

Don't load CLI module during test runs.

parent 3c1c2247
No related merge requests found
...@@ -20,7 +20,7 @@ $config = array( ...@@ -20,7 +20,7 @@ $config = array(
), ),
), ),
); );
if (PHP_SAPI == 'cli') { if (PHP_SAPI == 'cli' && !defined('VUFIND_PHPUNIT_RUNNING')) {
$config['modules'][] = 'VuFind\\CLI'; $config['modules'][] = 'VuFind\\CLI';
} }
return $config; return $config;
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment