load plugins in test env (#864)

This commit is contained in:
Toby Batch
2019-06-19 22:10:06 +01:00
committed by Kevin Papst
parent ce6ad0bbb8
commit dcdbf23b6d

View File

@@ -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;