public function DazzlerTest::testFormAlter in Formdazzle! 2.x
@covers ::formAlter
@dataProvider providerFormAlter
File
- tests/
src/ Unit/ DazzlerTest.php, line 184
Class
- DazzlerTest
- @coversDefaultClass \Drupal\formdazzle\Dazzler @group formdazzle
Namespace
Drupal\Tests\formdazzle\UnitCode
public function testFormAlter(array $form, string $form_id, array $expected) {
Dazzler::formAlter($form, $form_id);
$this
->assertEquals($expected, $form, $this
->getTestMessage());
}