public function EnvironmentConfigOverrideTest::testStaticOverridesWithOverriddenNamesAndOtherNames in Config override 8
File
- tests/
Unit/ EnvironmentConfigOverrideTest.php, line 39
Class
- EnvironmentConfigOverrideTest
- @coversDefaultClass \Drupal\config_override\EnvironmentConfigOverride @group config_override
Namespace
Drupal\config_override\Tests\UnitCode
public function testStaticOverridesWithOverriddenNamesAndOtherNames() {
$sut = new EnvironmentConfigOverride([
'example' => [
'key' => 'value',
],
]);
$this
->assertEquals([
'example' => [
'key' => 'value',
],
], $sut
->loadOverrides([
'example',
'other_example',
]));
}