Commit 2de01f4f authored by catch's avatar catch

Issue #2080351 by mrsinguyen: Remove Unused local variable $form_html_id from...

Issue #2080351 by mrsinguyen: Remove Unused local variable $form_html_id from /core/modules/system/lib/Drupal/system/Tests/Ajax/MultiFormTest.php.
parent 2802ecb8
......@@ -75,7 +75,7 @@ function testMultiForm() {
// of field items and "add more" button for the multi-valued field within
// each form.
$this->drupalGet('form-test/two-instances-of-same-form');
foreach ($field_xpaths as $form_html_id => $field_xpath) {
foreach ($field_xpaths as $field_xpath) {
$this->assert(count($this->xpath($field_xpath . $field_items_xpath_suffix)) == 1, 'Found the correct number of field items on the initial page.');
$this->assertFieldByXPath($field_xpath . $button_xpath_suffix, NULL, 'Found the "add more" button on the initial page.');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment