You are here

public function AbjsSettingsAdminTest::testEditableConfigName in A/B Test JS 2.0.x

Same name and namespace in other branches
  1. 8 tests/src/Kernel/Form/AbjsSettingsAdminTest.php \Drupal\Tests\abjs\Kernel\Form\AbjsSettingsAdminTest::testEditableConfigName()

Test editable config name.

File

tests/src/Kernel/Form/AbjsSettingsAdminTest.php, line 65

Class

AbjsSettingsAdminTest
Kernel tests for AbjsSettingsAdmin.

Namespace

Drupal\Tests\abjs\Kernel\Form

Code

public function testEditableConfigName() {
  $method = new \ReflectionMethod(AbjsSettingsAdmin::class, 'getEditableConfigNames');
  $method
    ->setAccessible(TRUE);
  $configName = $method
    ->invoke($this->abjsSettingsForm);
  $this
    ->assertEquals([
    'abjs.settings',
  ], $configName);
}