Same name in other branches
- 5.0.x tests/src/Kernel/Form/OperationsFormTest.php \Drupal\Tests\advagg\Kernel\Form\OperationsFormTest::testOperationsForm()
- 6.0.x tests/src/Kernel/Form/OperationsFormTest.php \Drupal\Tests\advagg\Kernel\Form\OperationsFormTest::testOperationsForm()
Tests for \Drupal\advagg\Form\OperationsForm.
File
-
tests/
src/ Kernel/ Form/ OperationsFormTest.php, line 49
Class
- 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);
}