load plugins in test env (#864)
This commit is contained in:
@@ -83,12 +83,6 @@ class Kernel extends BaseKernel
|
||||
}
|
||||
}
|
||||
|
||||
// do not load Kimai plugin in test environment, they may alter the default behaviour and create
|
||||
// false-negatives in integration/system tests
|
||||
if ('test' === $this->environment) {
|
||||
return;
|
||||
}
|
||||
|
||||
$pluginsDir = $this->getProjectDir() . '/var/plugins';
|
||||
if (!file_exists($pluginsDir)) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user