function IconExtractorSettingsFormTest::testGenerateSettingsForm
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Theme/Icon/IconExtractorSettingsFormTest.php \Drupal\Tests\Core\Theme\Icon\IconExtractorSettingsFormTest::testGenerateSettingsForm()
Test the IconExtractorSettingsForm::generateSettingsForm method.
Attributes
#[DataProvider('settingsFormDataProvider')]
Parameters
array<string, array<string, string>> $settings: The settings to test.
array<string, array<string, string>> $expected: The expected result.
File
-
core/
tests/ Drupal/ Tests/ Core/ Theme/ Icon/ IconExtractorSettingsFormTest.php, line 368
Class
Namespace
Drupal\Tests\Core\Theme\IconCode
public function testGenerateSettingsForm(array $settings, array $expected) : void {
$actual = IconExtractorSettingsForm::generateSettingsForm($settings);
$this->assertEquals($expected, $actual);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.