X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FTests%2FForm%2FElementsTableSelectTest.php;fp=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FTests%2FForm%2FElementsTableSelectTest.php;h=d335518a9ff5eae969af118e9ad311dfde8aa850;hp=208f85911d874a48cd4dba44767471f5e6ca2250;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/modules/system/src/Tests/Form/ElementsTableSelectTest.php b/web/core/modules/system/src/Tests/Form/ElementsTableSelectTest.php index 208f85911..d335518a9 100644 --- a/web/core/modules/system/src/Tests/Form/ElementsTableSelectTest.php +++ b/web/core/modules/system/src/Tests/Form/ElementsTableSelectTest.php @@ -4,6 +4,7 @@ namespace Drupal\system\Tests\Form; use Drupal\Core\Form\FormState; use Drupal\simpletest\WebTestBase; +use Drupal\Tests\system\Functional\Form\StubForm; /** * Tests the tableselect form element for expected behavior. @@ -92,7 +93,7 @@ class ElementsTableSelectTest extends WebTestBase { // The first two body rows should each have 5 table cells: One for the // radio, one cell in the first column, one cell in the second column, // and two cells in the third column which has colspan 2. - for ( $i = 0; $i <= 1; $i++) { + for ($i = 0; $i <= 1; $i++) { $this->assertEqual(count($table_body[0]->tr[$i]->td), 5, format_string('There are five cells in row @row.', ['@row' => $i])); } // The third row should have 3 cells, one for the radio, one spanning the