Same name in other branches
- 5.0.x tests/src/Kernel/Form/OperationsFormTest.php \Drupal\Tests\advagg\Kernel\Form\OperationsFormTest::testOperationsForm()
- 8.x-4.x tests/src/Kernel/Form/OperationsFormTest.php \Drupal\Tests\advagg\Kernel\Form\OperationsFormTest::testOperationsForm()
Tests for \Drupal\advagg\Form\OperationsForm.
Fichier
-
tests/
src/ Kernel/ Form/ OperationsFormTest.php, line 49
Classe
- OperationsFormTest
- Tests the Operations settings form.
Namespace
Drupal\Tests\advagg\Kernel\FormCode
public function testOperationsForm() {
$this->assertInstanceOf(FormInterface::class, $this->operationsForm);
$id = $this->operationsForm
->getFormId();
$this->assertEquals('advagg_operations', $id);
$method = new \ReflectionMethod(OperationsForm::class, 'getEditableConfigNames');
$method->setAccessible(TRUE);
$name = $method->invoke($this->operationsForm);
$this->assertEquals([
'advagg.settings',
], $name);
}