configuration improvements (#1784)

This commit is contained in:
Kevin Papst
2020-06-16 18:35:09 +02:00
committed by GitHub
parent ea4e930cbb
commit 470a6b30e0
9 changed files with 42 additions and 28 deletions

View File

@@ -421,14 +421,6 @@ class AppExtensionTest extends TestCase
$this->assertEquals(['yyyy', 'xxxx'], $config);
}
public function testInvalidConfiguration()
{
$this->expectException(Notice::class);
$this->expectExceptionMessage('Found invalid "kimai" configuration: The child node "data_dir" at path "kimai" must be configured.');
$this->extension->load([], $container = $this->getContainer());
}
public function testWithBundleConfiguration()
{
$bundleConfig = [