Skip to content
Snippets Groups Projects
Commit 26420375 authored by Guilherme Pereira's avatar Guilherme Pereira Committed by Adrian Cid Almaguer
Browse files

Issue #3216805 by guilhermevp, marcusvsouza, adriancid: drupalPostForm is...

Issue #3216805 by guilhermevp, marcusvsouza, adriancid: drupalPostForm is deprecated, use $this->submitForm() instead
parent 80b2b13f
No related branches found
No related tags found
No related merge requests found
......@@ -199,7 +199,7 @@ class NodeRevisionGenerateTest extends BrowserTestBase {
];
// Sending the form.
$this->drupalPostForm(NULL, $form_values, 'op');
$this->submitForm($form_values, 'op');
// Getting the revision list for article.
$vids_article = $node_storage->revisionIds($node_article);
......@@ -244,7 +244,7 @@ class NodeRevisionGenerateTest extends BrowserTestBase {
];
// Sending the form.
$this->drupalPostForm(NULL, $form_values, 'op');
$this->submitForm($form_values, 'op');
++$number_of_revisions;
......@@ -287,7 +287,7 @@ class NodeRevisionGenerateTest extends BrowserTestBase {
$number_of_revisions += $revisions_number;
// Sending the form.
$this->drupalPostForm(NULL, $form_values, 'op');
$this->submitForm($form_values, 'op');
// Getting the revision list for article.
$vids_article = $node_storage->revisionIds($node_article);
......@@ -340,7 +340,7 @@ class NodeRevisionGenerateTest extends BrowserTestBase {
];
// Sending the form.
$this->drupalPostForm(NULL, $form_values, 'op');
$this->submitForm($form_values, 'op');
$number_of_revisions += $revisions_number[$i];
// Getting the revision list for article.
......
......@@ -107,7 +107,7 @@ class NodeRevisionDeleteAdminSettingsTest extends BrowserTestBase {
foreach ($form_values as $edit) {
// Sending the form.
$this->drupalPostForm(NULL, $edit, 'op');
$this->submitForm($edit, 'op');
// Verifying the save message.
$this->assertSession()->pageTextContains('The configuration options have been saved.');
// Getting the configuration file.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment