Update version and improve config validation
This commit is contained in:
parent
698e2cb334
commit
2f41614d20
3 changed files with 5 additions and 5 deletions
|
@ -52,8 +52,10 @@ class ConfigurationTest extends TestCase
|
|||
public function testGetMethodWithValidKey(): void
|
||||
{
|
||||
$config = new Configuration('test');
|
||||
$config->set('key1.key2', 'value');
|
||||
$this->assertTrue($config->set('key1.key2', 'value', true));
|
||||
$this->assertEquals('value', $config->get('key1.key2'));
|
||||
$this->assertTrue($config->set('foo.fizz_buzz', 'value', true));
|
||||
$this->assertEquals('value', $config->get('foo.fizz_buzz'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue