diff --git a/core/modules/migrate_drupal_ui/src/Tests/MigrateUpgradeTestBase.php b/core/modules/migrate_drupal_ui/src/Tests/MigrateUpgradeTestBase.php index 5398c48..d21228b 100644 --- a/core/modules/migrate_drupal_ui/src/Tests/MigrateUpgradeTestBase.php +++ b/core/modules/migrate_drupal_ui/src/Tests/MigrateUpgradeTestBase.php @@ -135,7 +135,8 @@ protected function testMigrateUpgrade() { $this->drupalPostForm(NULL, $edits, t('Review upgrade')); $this->assertResponse(200); $this->assertText('Are you sure?'); - $this->drupalPostForm(NULL, [], t('Perform upgrade')); + $this->drupalPostForm(NULL, [], t('Perform upgrade', [], [], NULL, NULL,TRUE)); + $this->assertText(t('Congratulations, you upgraded Drupal!')); // Have to reset all the statics after migration to ensure entities are diff --git a/core/modules/simpletest/src/WebTestBase.php b/core/modules/simpletest/src/WebTestBase.php index eb1ad73..8a11420 100644 --- a/core/modules/simpletest/src/WebTestBase.php +++ b/core/modules/simpletest/src/WebTestBase.php @@ -1573,7 +1573,7 @@ protected function drupalGetXHR($path, array $options = array(), array $headers * POST data, so it must already be urlencoded and contain a leading "&" * (e.g., "&extra_var1=hello+world&extra_var2=you%26me"). */ - protected function drupalPostForm($path, $edit, $submit, array $options = array(), array $headers = array(), $form_html_id = NULL, $extra_post = NULL) { + protected function drupalPostForm($path, $edit, $submit, array $options = array(), array $headers = array(), $form_html_id = NULL, $extra_post = NULL, $debug = FALSE) { if (is_object($submit)) { // Cast MarkupInterface objects to string. $submit = (string) $submit; @@ -1662,6 +1662,9 @@ protected function drupalPostForm($path, $edit, $submit, array $options = array( $verbose .= '