prepare release 1.12 (#2183)
* updated dependencies (#2125) * display application name and version in console (#2150)
This commit is contained in:
@@ -56,7 +56,6 @@ class AppExtensionTest extends TestCase
|
||||
],
|
||||
],
|
||||
'data_dir' => '/tmp/',
|
||||
'plugin_dir' => '/tmp/', // still here, to make sure that this value is NOT applied!
|
||||
'timesheet' => [],
|
||||
'saml' => [
|
||||
'connection' => []
|
||||
@@ -325,6 +324,21 @@ class AppExtensionTest extends TestCase
|
||||
$this->extension->load($minConfig, $container = $this->getContainer());
|
||||
}
|
||||
|
||||
/**
|
||||
* @expectedDeprecation Changing the plugin directory via "kimai.plugin_dir" is not supported since 1.9
|
||||
* @group legacy
|
||||
*/
|
||||
public function testChangingPluginsIsIgnoredAndTriggersDeprecation()
|
||||
{
|
||||
$minConfig = $this->getMinConfig();
|
||||
$minConfig['kimai']['plugin_dir'] = '/tmp/';
|
||||
$expected = realpath(__DIR__ . '/../../') . '/var/plugins';
|
||||
|
||||
$this->extension->load($minConfig, $container = $this->getContainer());
|
||||
|
||||
$this->assertEquals($expected, $container->getParameter('kimai.plugin_dir'), 'Invalid config: kimai.plugin_dir');
|
||||
}
|
||||
|
||||
public function testLdapDefaultValues()
|
||||
{
|
||||
$minConfig = $this->getMinConfig();
|
||||
|
||||
Reference in New Issue
Block a user