public function AbjsSettingsAdminTest::testEditableConfigName in A/B Test JS 8
Same name and namespace in other branches
- 2.0.x 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\FormCode
public function testEditableConfigName() {
$method = new \ReflectionMethod(AbjsSettingsAdmin::class, 'getEditableConfigNames');
$method
->setAccessible(TRUE);
$configName = $method
->invoke($this->abjsSettingsForm);
$this
->assertEquals([
'abjs.settings',
], $configName);
}