You are here

public function EnvironmentConfigOverrideTest::testStaticOverridesOtherNames in Config override 8

File

tests/Unit/EnvironmentConfigOverrideTest.php, line 20

Class

EnvironmentConfigOverrideTest
@coversDefaultClass \Drupal\config_override\EnvironmentConfigOverride @group config_override

Namespace

Drupal\config_override\Tests\Unit

Code

public function testStaticOverridesOtherNames() {
  $sut = new EnvironmentConfigOverride([
    'example' => [
      'key' => 'value',
    ],
  ]);
  $this
    ->assertEquals([], $sut
    ->loadOverrides([
    'other_example',
  ]));
}