public function ImceSettingsFormTest::testEditableConfigName in IMCE 8.2
Same name and namespace in other branches
- 8 tests/src/Kernel/Form/ImceSettingsFormTest.php \Drupal\Tests\imce\Kernel\Form\ImceSettingsFormTest::testEditableConfigName()
Test editable config name.
File
- tests/
src/ Kernel/ Form/ ImceSettingsFormTest.php, line 90
Class
- ImceSettingsFormTest
- Kernel tests for ImceSettingsForm.
Namespace
Drupal\Tests\imce\Kernel\FormCode
public function testEditableConfigName() {
$method = new \ReflectionMethod(ImceSettingsForm::class, 'getEditableConfigNames');
$method
->setAccessible(TRUE);
$configName = $method
->invoke($this->imceSettingsForm);
$this
->assertEquals([
'imce.settings',
], $configName);
}