diff --git a/core/modules/system/src/Tests/Form/ElementsTableSelectTest.php b/core/modules/system/src/Tests/Form/ElementsTableSelectTest.php index 2042de0..22622e7 100644 --- a/core/modules/system/src/Tests/Form/ElementsTableSelectTest.php +++ b/core/modules/system/src/Tests/Form/ElementsTableSelectTest.php @@ -212,6 +212,10 @@ private function formSubmitHelper($form, $edit) { $form_state = new FormState(); $form['op'] = array('#type' => 'submit', '#value' => t('Submit')); + // The form token CSRF protection should not interfere with this test, so we + // bypass it by setting the token to FALSE. + $form['#token'] = FALSE; + $edit['form_id'] = $form_id; // Disable page redirect for forms submitted programmatically. This is a