You've already forked redmine-bundle
use recent file layout and make this stuff work
This commit is contained in:
@@ -17,23 +17,15 @@ class ConfigurationTest extends TestCase
|
||||
public function testConfig(array $configs): void
|
||||
{
|
||||
$config = (new Processor())->processConfiguration(new Configuration(), $configs);
|
||||
$this->assertSame('foo', $config['connections']['default']['apikey']);
|
||||
$this->assertSame('bar', $config['connections']['default']['url']);
|
||||
$this->assertSame(1800, $config['ttl']);
|
||||
}
|
||||
|
||||
public function configsProvider(): iterable
|
||||
{
|
||||
yield [
|
||||
[
|
||||
'magdev_redmine' => [
|
||||
'connections' => [
|
||||
'default' => [
|
||||
'apikey' => 'foo',
|
||||
'url' => 'bar'
|
||||
],
|
||||
],
|
||||
],
|
||||
yield [[
|
||||
'magdev_redmine' => [
|
||||
'ttl' => 1800
|
||||
],
|
||||
];
|
||||
]];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user